> ## Documentation Index
> Fetch the complete documentation index at: https://help.dingtalk.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Mail Node

> Learn how to configure a mail notification node in an approval process, including preparations, adding a Send mail node, configuring the step, and supported component types.

Mail notifications send emails to specified recipients using a preconfigured template when a process reaches a designated step. Follow the steps below to configure a Send mail node.

## Preparations

Before using mail notifications in an approval process, add a mail account first. For details, see [Mail management](/yida/platform-admin/dowbnvn7aasg1z07).

## Add a Send Mail Node

1. Sign in to the YiDA workbench and click **My apps**.
2. Select the target app to open the **App settings** page.
3. Click **Integration & Automation**, select an existing flow, and click **Edit**.
4. Move the cursor over the connecting line between two steps. When the **+** button appears, click it and select **Chats node** > **Send mail**.

## Configure Send Mail

Follow these steps to configure the Send mail node.

<Steps>
  <Step title="Select the Send mail node and set the mail address in the configuration panel on the right">
    <Note>
      If you have not added a mail account, click **Account management** on the right to add one. For details, see [Mail management](/yida/platform-admin/dowbnvn7aasg1z07).
    </Note>

    <Note>
      The To field accepts values from form fields.
    </Note>
  </Step>

  <Step title="Set the mail content. Two modes are supported: custom content and message template">
    <Note>
      Form fields can be inserted into the content.
    </Note>
  </Step>

  <Step title="Click Save when the configuration is complete" />
</Steps>

## Supported Component Types for Mail

The following table lists the components that support batch data export in mail:

<table>
  <tr>
    <td>**Component type**</td>
    <td>**Component name**</td>
    <td>**Mail reference supported**</td>
    <td>**Data format in mail**</td>
  </tr>

  <tr>
    <td rowSpan={16}>**Common components**</td>
    <td>Single-line text</td>
    <td><ul><li>Supported</li></ul></td>
    <td>Text format</td>
  </tr>

  <tr>
    <td>Multi-line text</td>
    <td><ul><li>Supported</li></ul></td>
    <td>Text format</td>
  </tr>

  <tr>
    <td>Numerical</td>
    <td><ul><li>Supported</li></ul></td>
    <td>Number format</td>
  </tr>

  <tr>
    <td>Rating</td>
    <td><ul><li>Supported</li></ul></td>
    <td>Number format</td>
  </tr>

  <tr>
    <td>Select</td>
    <td><ul><li>Supported</li></ul></td>
    <td>Text format</td>
  </tr>

  <tr>
    <td>Checkbox</td>
    <td><ul><li>Supported</li></ul></td>
    <td>Text format. All selected options are exported and separated by commas.</td>
  </tr>

  <tr>
    <td>Date range</td>
    <td><ul><li>Supported</li></ul></td>
    <td>Date format</td>
  </tr>

  <tr>
    <td>Date</td>
    <td><ul><li>Supported</li></ul></td>
    <td>Date format</td>
  </tr>

  <tr>
    <td>User</td>
    <td><ul><li>Supported</li></ul></td>
    <td>1. When "Show user ID" is cleared, only the user name is shown.<br />2. When "Show user ID" is selected, both the user name and user ID are shown.</td>
  </tr>

  <tr>
    <td>Department</td>
    <td><ul><li>Supported</li></ul></td>
    <td>1. When "Show full department path" is cleared, only the department name is shown.<br />2. When "Show full department path" is selected, the full department path is shown.</td>
  </tr>

  <tr>
    <td>Image upload</td>
    <td><ul><li>Supported</li></ul></td>
    <td>Image path. Accessible only after signing in to DingTalk.</td>
  </tr>

  <tr>
    <td>Attachment</td>
    <td><ul><li>Supported</li></ul></td>
    <td>Image path. Accessible only after signing in to DingTalk.</td>
  </tr>

  <tr>
    <td>Word template</td>
    <td><ul><li>Supported</li></ul></td>
    <td>Image path. Accessible only after signing in to DingTalk.</td>
  </tr>

  <tr>
    <td>Signature</td>
    <td><ul><li>Supported</li></ul></td>
    <td>Image path. Accessible only after signing in to DingTalk.</td>
  </tr>

  <tr>
    <td>Smart invoice</td>
    <td><ul><li>Supported</li></ul></td>
    <td>Image path. Accessible only after signing in to DingTalk.</td>
  </tr>

  <tr>
    <td>Subform</td>
    <td><ul><li>Supported</li></ul></td>
    <td>Text format</td>
  </tr>

  <tr>
    <td rowSpan={15}>**Premium components**</td>
    <td>Dropdown select</td>
    <td><ul><li>Supported</li></ul></td>
    <td>Selected option</td>
  </tr>

  <tr>
    <td>Dropdown multiselect</td>
    <td><ul><li>Supported</li></ul></td>
    <td>All selected options are exported and separated by commas.</td>
  </tr>

  <tr>
    <td>Cascading select</td>
    <td><ul><li>Supported</li></ul></td>
    <td>Text format</td>
  </tr>

  <tr>
    <td>Country/Region</td>
    <td><ul><li>Supported</li></ul></td>
    <td>Text format</td>
  </tr>

  <tr>
    <td>Address</td>
    <td><ul><li>Supported</li></ul></td>
    <td>Text format</td>
  </tr>

  <tr>
    <td>Location</td>
    <td><ul><li>Supported</li></ul></td>
    <td>Text format</td>
  </tr>

  <tr>
    <td>Associated form</td>
    <td><ul><li>Supported</li></ul></td>
    <td>Text format, field + instance ID</td>
  </tr>

  <tr>
    <td>Serial number</td>
    <td><ul><li>Supported</li></ul></td>
    <td>Text format</td>
  </tr>

  <tr>
    <td>Organization</td>
    <td><ul><li>Supported</li></ul></td>
    <td>Text format</td>
  </tr>

  <tr>
    <td>UnionPay</td>
    <td>❌ Not supported</td>
    <td>/</td>
  </tr>

  <tr>
    <td>Budget control</td>
    <td>❌ Not supported</td>
    <td>/</td>
  </tr>

  <tr>
    <td>Group</td>
    <td>❌ Not supported</td>
    <td>/</td>
  </tr>

  <tr>
    <td>Associated query</td>
    <td>❌ Not supported</td>
    <td>/</td>
  </tr>

  <tr>
    <td>Rich Text</td>
    <td>❌ Not supported</td>
    <td>/</td>
  </tr>

  <tr>
    <td>Image and text</td>
    <td>❌ Not supported</td>
    <td>/</td>
  </tr>

  <tr>
    <td rowSpan={2}>**Common components**</td>
    <td>ID number</td>
    <td>❌ Not supported</td>
    <td>Not supported in mail export to protect privacy.</td>
  </tr>

  <tr>
    <td>Phone number</td>
    <td>❌ Not supported</td>
    <td>Not supported in mail export to protect privacy.</td>
  </tr>
</table>
