> ## Documentation Index
> Fetch the complete documentation index at: https://docs-dev-docs-event-stream-action-templates.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Mailjet

> メールを送信するようMailjetフローアクションを構成する方法を説明します。

## Vault接続を構成する

Mailjetアクション用にVault接続を構成するには、 **API key（APIキー）** と **Secret key（秘密鍵）** が必要です。

<Frame>
  <img src="https://mintcdn.com/docs-dev-docs-event-stream-action-templates/5l8GTXHD40NsjgmL/docs/images/ja-jp/cdy7uua7fh8z/1ydxHXrM2idHnUOAjWAW4R/55cdb295e87894dd9f89bed8784e3a5d/mailjet-vault-connection.png?fit=max&auto=format&n=5l8GTXHD40NsjgmL&q=85&s=41170bba451a866e65119aab1f2cc60d" alt="Dashboard > Actions > Forms > Flows > actions > MailJet" data-og-width="1404" width="1404" data-og-height="697" height="697" data-path="docs/images/ja-jp/cdy7uua7fh8z/1ydxHXrM2idHnUOAjWAW4R/55cdb295e87894dd9f89bed8784e3a5d/mailjet-vault-connection.png" data-optimize="true" data-opv="3" srcset="https://mintcdn.com/docs-dev-docs-event-stream-action-templates/5l8GTXHD40NsjgmL/docs/images/ja-jp/cdy7uua7fh8z/1ydxHXrM2idHnUOAjWAW4R/55cdb295e87894dd9f89bed8784e3a5d/mailjet-vault-connection.png?w=280&fit=max&auto=format&n=5l8GTXHD40NsjgmL&q=85&s=8378f092872f93468237fcd10ae1db50 280w, https://mintcdn.com/docs-dev-docs-event-stream-action-templates/5l8GTXHD40NsjgmL/docs/images/ja-jp/cdy7uua7fh8z/1ydxHXrM2idHnUOAjWAW4R/55cdb295e87894dd9f89bed8784e3a5d/mailjet-vault-connection.png?w=560&fit=max&auto=format&n=5l8GTXHD40NsjgmL&q=85&s=517476fdfb4d81a87949b034ea32c355 560w, https://mintcdn.com/docs-dev-docs-event-stream-action-templates/5l8GTXHD40NsjgmL/docs/images/ja-jp/cdy7uua7fh8z/1ydxHXrM2idHnUOAjWAW4R/55cdb295e87894dd9f89bed8784e3a5d/mailjet-vault-connection.png?w=840&fit=max&auto=format&n=5l8GTXHD40NsjgmL&q=85&s=1fef542f9bd457920ea2826498a8ee2e 840w, https://mintcdn.com/docs-dev-docs-event-stream-action-templates/5l8GTXHD40NsjgmL/docs/images/ja-jp/cdy7uua7fh8z/1ydxHXrM2idHnUOAjWAW4R/55cdb295e87894dd9f89bed8784e3a5d/mailjet-vault-connection.png?w=1100&fit=max&auto=format&n=5l8GTXHD40NsjgmL&q=85&s=11fdadc703f507fd8e9470004ae9e38d 1100w, https://mintcdn.com/docs-dev-docs-event-stream-action-templates/5l8GTXHD40NsjgmL/docs/images/ja-jp/cdy7uua7fh8z/1ydxHXrM2idHnUOAjWAW4R/55cdb295e87894dd9f89bed8784e3a5d/mailjet-vault-connection.png?w=1650&fit=max&auto=format&n=5l8GTXHD40NsjgmL&q=85&s=ec02c8204158300af47b499876f337ac 1650w, https://mintcdn.com/docs-dev-docs-event-stream-action-templates/5l8GTXHD40NsjgmL/docs/images/ja-jp/cdy7uua7fh8z/1ydxHXrM2idHnUOAjWAW4R/55cdb295e87894dd9f89bed8784e3a5d/mailjet-vault-connection.png?w=2500&fit=max&auto=format&n=5l8GTXHD40NsjgmL&q=85&s=5db66a61b4cd4fe231ae37d0bf75fc29 2500w" />
</Frame>

いずれも[Mailjetダッシュボード](https://app.mailjet.com/account/api_keys)のアカウントページのAPIキーにあります。

## メールを送信する

Mailjetをメールプロバイダーとして使用してメールを送信します。

<Frame>
  <img src="https://mintcdn.com/docs-dev-docs-event-stream-action-templates/V-g8sIA_dMysRiDH/docs/images/ja-jp/cdy7uua7fh8z/5z1CqSZTrLs1oMdHKvHOiM/7e1fa3b5d7ea5a5b2ec51dd58fa1d2ed/mailjet.png?fit=max&auto=format&n=V-g8sIA_dMysRiDH&q=85&s=234fcd0b4bcce1defea7b44f63186055" alt="" width="832" height="705" data-path="docs/images/ja-jp/cdy7uua7fh8z/5z1CqSZTrLs1oMdHKvHOiM/7e1fa3b5d7ea5a5b2ec51dd58fa1d2ed/mailjet.png" />
</Frame>

### 入力設定

| パラメーター                                  | 説明                                                                            |
| --------------------------------------- | ----------------------------------------------------------------------------- |
| Sender name（差出人名）                       | 差出人の名前です                                                                      |
| Sender email (required)（差出人のメール（必須））    | 差出人のメールです                                                                     |
| Recipient name（宛先名）                     | 宛先の名前です                                                                       |
| Recipient email (required)（宛先のメール（必須））  | 宛先のメールです                                                                      |
| CC name（CCの名前）                          | CCの名前です                                                                       |
| CC email（CCのメール）                        | CCのメールです                                                                      |
| Subject（件名）                             | メールの件名です                                                                      |
| Email type（メールの種類）                      | HTMLコンテンツまたは保存済みのテンプレート（任意）を使ってメールを送信します                                      |
| Message (required)（メッセージ（必須））           | HTML形式またはテンプレート（任意）のメッセージです。                                                  |
| Template ID (optional)（テンプレートID（任意））    | テンプレートを使用する場合、IDは[ Mailjetのダッシュボード](https://app.mailjet.com/template)で確認できます。 |
| Custom variables (optional)（カスタム変数（任意）） | テンプレートに挿入するカスタム変数を追加します。                                                      |
| Track email activity（メールアクティビティを追跡する）   | メールアクティビティを追跡するには、このチェックボックスを選択します。                                           |

### 出力設定

予期される応答とステータスコードは、[Mailjetのドキュメント](https://dev.mailjet.com/email/reference/send-emails/)で確認できます。
