Token to get the latest revision's URL
The token needs to be available in the email? I've not created custom tokens in D8 yet but in d7 We'd make a custom token and the value would be set in the token definition based on condition.