> 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="https://1345286555-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F2SAP0zfldVFDluPfMXkq%2Fuploads%2Fb7tTzAfsPImalycfm1SS%2F%E3%82%B9%E3%82%AF%E3%83%AA%E3%83%BC%E3%83%B3%E3%82%B7%E3%83%A7%E3%83%83%E3%83%88%202025-07-16%2015.14.18.png?alt=media&amp;token=936e96c2-b7aa-4852-ba40-f4350ef36ca5" alt="" data-size="original">

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

<img src="https://1345286555-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F2SAP0zfldVFDluPfMXkq%2Fuploads%2FEUg0kKdcWMUmJzmHzA1s%2F%E3%82%B9%E3%82%AF%E3%83%AA%E3%83%BC%E3%83%B3%E3%82%B7%E3%83%A7%E3%83%83%E3%83%88%202025-07-16%2015.22.00.png?alt=media&amp;token=76f36af5-98b6-44e2-87ad-b2bbb7041d25" 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 by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

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

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
