Use the <adduser> element within an <interface> element or a <match> element to add users to a temporary group based on the output of change commands so that the adaptor can send notifications to users who caused changes. The system does not add a user to a group if the user is already a member of the group, preventing multiple notifications. The <adduser> element is an empty element. The group attribute specifies a temporary group created during the adaptor logic run; you must reference the same group in a <notify> element to cause the actual notifications to be sent.
<adduser group="MyChangers" user="$4"/>
Use the condition="function" attribute to control whether the <adduser> element adds users who caused changes to a temporary access group. The value of function is an expression that evaluates to true or false. If the expression evaluates to true, the user is added to the temporary group; otherwise, the user is not added. See Condition functions.
username@host.com
name username@host.com
name "<username@host.com>"
name <username@host.com>
name "username@host.com"