In my website when a user submits the registration form and email verification is sent to them. Is there a way to change the content of the verification email that is sent after the user submits the registration form based on the gender they have selected. I'm trying to make a separate emails for male and female users.
The default email provided by Drupal says
Your account at [site:name] is created. You may now log in by clicking this link or copying and pasting it to your browser: [user:one-time-login-url]
This link can only be used once to log in and will lead you to a page where you can set your password.
After setting your password, you will be able to log in at [site:login-url] in the future using: username: [user:name]
password: Your password
-- [site:name] team
I want to change this. For example if the user selects "Male" for gender in the registration form so instead of
[user:name], it says "Hey Boy!" and if the user selects "Female" in the registration form the email says "Hey Girl!".
Is it possible to make that change?