Hi there,
I've been searching far and wide for this and have come up short. Isn't there any way to get the ID of the user/recipient of an email inside a razor template?
I am aware of the existance of email placeholder tags where i can use EmailMessaging:Recipient.ID/Key, but this doesn't give me the id of the user to use immediately. Can't I do something like GetValue("EmailMessaging:Recipient.ID") or similar?
Any other way?
Currently, I'm leaning towards using the placeholder tag and then fetching that data in a BeforeEmailSend trigger. This seems excessively complex for what I expect is quite simple.
Regards,
Kasper