> For the complete documentation index, see [llms.txt](https://docs-embed.anyflow.jp/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs-embed.anyflow.jp/solution-editor/actions/data-store/mail.md).

# メールアクション

## 概要

メールアプリは、Anyflowからメールを送ることができるアプリです。

<figure><img src="https://files.readme.io/22e3e43-send_mail.png" alt="" width="563"><figcaption></figcaption></figure>

### メールの送信先のアドレスについて

カンマ区切りで入力することで、複数アドレスに送付することが可能です。

<pre><code><strong>（例）example-1@anyflow.co.jp,example-2@anyflow.co.jp
</strong></code></pre>

{% hint style="success" %}

### エンドユーザーが指定したアドレスを送信先に設定したい時

エンドユーザー変数を作成し、Toに設定することで、エンドユーザーが指定したアドレスを送信先に設定することができます。

複数アドレスを設定いただく場合は、カンマ区切りで入力するように注釈を入れることがおすすめです。

▪️エンドユーザー変数を設定する

<img src="/files/6Ed1ODnn6iCbvz5vlNB3" alt="" data-size="original">

▪️ウィザードに送付先アドレスの入力欄を設ける

<img src="/files/g4oLlfu5uYti0wmKg9GN" alt="" data-size="original">
{% endhint %}

### メールの送信元のアドレスについて

* `noreply@anyflow.jp` からメールが送信されます。
* 送信元のアドレスを変更することはできません。

### エラーケースについて

* メールアドレス形式でないものがTo, CC, BCCに含まれていた場合、アクションはエラーになります。
* メールの到達、未到達に関わらずエラーにはなりません。
* ToとBccが同一のメールアドレスだった場合、アクションはエラーになります。


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs-embed.anyflow.jp/solution-editor/actions/data-store/mail.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
