# Mailjet Email Sender

Source: https://openflow.run/zh-cn/templates/mailjet-email-sender/
Content language: en
Template revision: f2bf5895d91486412f320151dafd9c6b95b42091

沟通

Send one plain-text email through Mailjet and return its acceptance result.

[在 Open Flow 中使用](https://console.openflow.run/flows?importUrl=https%3A%2F%2Fraw.githubusercontent.com%2Foomol-lab%2Fawesome-workflow-templates%2Ff2bf5895d91486412f320151dafd9c6b95b42091%2Fworkflows%2Fmailjet-email-sender%2Ftemplates%2Fmailjet-email-sender.openflow.json)

*   [Open Flow JSON](https://raw.githubusercontent.com/oomol-lab/awesome-workflow-templates/f2bf5895d91486412f320151dafd9c6b95b42091/workflows/mailjet-email-sender/templates/mailjet-email-sender.openflow.json)
*   [n8n JSON](https://raw.githubusercontent.com/oomol-lab/awesome-workflow-templates/f2bf5895d91486412f320151dafd9c6b95b42091/workflows/mailjet-email-sender/templates/mailjet-email-sender.n8n.json)

![Mailjet Email Sender 在 Open Flow 中的工作流截图](https://openflow.run/_astro/preview-light.CsrdgeLC_Z16x0h8.webp)

Send one plain-text email to one recipient through Mailjet and return the Send API’s acceptance result.

## Setup

In Open Flow, create secret Variables for your Mailjet API key and API secret. In **Send Mailjet email**, bind **Authentication Username** (`auth.username`) to the key Variable and **Authentication Password** (`auth.password`) to the secret Variable. Both fields use HTTP Basic authentication. Choose the Variables after import; the shared file contains no credentials or Variable bindings. Run with **From Email**, **To Email**, **Subject** and **Text**. Mailjet must have validated the sender address or its domain.

In n8n, choose Mailjet Email credentials, keep **Sandbox Mode** disabled, and edit the sender, recipient, subject and text in **Mailjet**. This template sends a real email; sandbox mode is disabled in the Open Flow request.

Each run makes one Send API request containing one message for one recipient. It sends plain text, with no template, attachment, CC or BCC. Mailjet can also create a contact record for a new recipient. The result includes Mailjet’s message identifiers. Acceptance means Mailjet has accepted the email for processing; it does not confirm inbox delivery.

The Open Flow HTTP step has a 30-second execution budget. A rejected message, unexpected response or request failure stops the run. Each run can send another email. No duplicate check or automatic retry is configured, so check Mailjet before repeating an uncertain request.

## Changes to the source

*   Replace the sender and recipient examples with user configuration.
*   Require sender, recipient, subject and text as Open Flow run inputs.
*   Use secret Variables for HTTP Basic authentication in Open Flow.
*   Check the per-message acceptance result in both formats and expose it in Open Flow.

Adapted from [Mailjet email send workflow](https://github.com/Zie619/n8n-workflows/blob/ae8cf6dc5b873cbb4f74587aa9180ed3a9f70682/workflows/Manual/0993_Manual_Mailjet_Automate_Triggered.json) in [Zie619/n8n-workflows](https://github.com/Zie619/n8n-workflows). The source export does not identify a separate template author or license.

The collection’s [MIT notice](https://github.com/Zie619/n8n-workflows/blob/94007c1445d9258a7da116646b79473e7c7c3282/LICENSE) is pinned at a later revision. This is the collection notice at that revision; it does not establish a separate original template author’s license. Our changes are listed above; see [repository licensing](https://github.com/oomol-lab/awesome-workflow-templates/blob/f2bf5895d91486412f320151dafd9c6b95b42091/README.md#licensing).

> MIT License
> 
> Copyright (c) 2025 Zie619
> 
> Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
> 
> The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
> 
> THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

## 配置要求

*   Mailjet API key and secret stored as secret Variables for Open Flow HTTP Basic authentication
*   Mailjet Email credentials in n8n with Sandbox Mode disabled
*   Validated sender email address
*   Recipient email, subject and plain-text body

*   mailjet
*   email
*   transactional
*   manual

[在 GitHub 查看](https://github.com/oomol-lab/awesome-workflow-templates/blob/f2bf5895d91486412f320151dafd9c6b95b42091/workflows/mailjet-email-sender/README.md)
