In some email templates I need to show a section based on user role, utilising a Twig condition. Do you know how to pull the user role in this case?
This is made possible with Bricksforge 3.0
You can now use user.roles.0 in twig conditions if you like.
user.roles.0
For example: