> For the complete documentation index, see [llms.txt](https://docs.aligned.ch/installing-aligned-elements-web-server/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.aligned.ch/installing-aligned-elements-web-server/attribute-workflows/email-action.md).

# Email Action

In an Email action, an Email is sent in conjunction with the commit of the Document Object.

Code Example:

<pre class="language-xml" data-overflow="wrap" data-full-width="true"><code class="lang-xml">&#x3C;Transition Value="Draft" NextValue="Released">
  &#x3C;Action Action="Email" ActionDataId="myEmailAction"/>
&#x3C;/Transition>
&#x3C;ActionDatas>
<strong>  &#x3C;EmailData Id="myEmailAction" NotifyUsersInAttribute="Assigned To">
</strong>    &#x3C;UserGroupToNotify>Testers&#x3C;/UserGroupToNotify>
  &#x3C;/EmailData>
&#x3C;/ActionDatas>
&#x3C;/Workflow>
</code></pre>

### Parameters

#### **NotifyUsersInAttribute**

The name of the attribute (UserEnumAttribute or TableAttribute with UserEnumColumn) which contains user information, which will be the recipients of the email.

#### Sending Email to User Groups (optional)

Additionally, it is possible to specify a number of User Groups (using the name of the User Group) to also become recipients of the email. Note that Aligned Elements does not validate if such a group actually exist in the Project.
