I have set up a rule that is as follows:
- Rules Event: After saving new content of type Article.
- Rules Conditions: User has role(s), with role = Authenticated user.
- Rules Actions: Send mail to all users of a role, with role = Administrator.
When anyone adds an article to the site, all the admins are notified and I have used token replacements for the email fields like so:
- Mail Subject: [node:author] has just created a piece of content entitled "[node:title]"
Message Body:
[node:author] has just created a piece of content entitled "[node:title]"
You can see the article here and proof read: [node:edit-url]
The article is here: [node:url]
This all works perfectly, however I want to also add the author of the node into this email so that any of the admins can email this person if they need to. I cannot work out how to get the author's email into the email body as it doesn't seem to show up in replacement patterns.
Anyone any idea how I can achieve this?