I use the rules module in Drupal 7. I use it to send an email to a few receivers with a certain role. How can I get their name or userID? Is there a Replacement Pattern to get the email Receiver details?
edit:
I'm sorry for being unclear. I have made a rule that emails all users with a certain role after new content of a certain type was created. In this email I would like to start with "Hi [Username_of_email_receiver]" but it seems I can only use the author username or the current logged in username