To send email from an automation tool, give it three things: an SMTP host and port, credentials, and a From address on a domain you have authenticated. In n8n you create an SMTP credential and use the Send Email node. In Make you use the Email app with a custom SMTP connection, or an HTTP module that calls an email API. In Zapier you use an SMTP-capable app or a Webhooks by Zapier step that calls the API of your sending service. Exact app and menu names change, so confirm them in each tool's current documentation.
The settings below work for any compliant relay. Use the host smtp.migosmtp.com with port 587 (STARTTLS) or port 465 (implicit TLS) as a worked example. The harder part is not the connection. It is everything around it: rate limits in the automation platform, retries that send duplicates, personalisation errors and unauthenticated domains that send your workflow emails to spam.
SMTP or API from an automation tool
Every platform can usually reach your sender in two ways. A native email or SMTP step is quick to set up and ideal for notifications. An HTTP step that calls a sending API gives you more control over fields, tags and error handling, and avoids outbound SMTP ports that some hosting environments block. Self-hosted n8n instances on cloud servers are the most common case where port 25 or even 587 is restricted by the host.
| Method | Strengths | Weaknesses |
|---|---|---|
| Native SMTP or Email step | Simple, familiar fields, works with any relay | Limited headers and attachments, less structured error output |
| HTTP request to an API | Full control, structured JSON errors, easy to add tags and metadata | You must build the request body and handle auth yourself |
| Platform built-in sender | No setup | Shared sending identity, strict limits, not suited to customer-facing mail |
The decision framework in SMTP versus API applies directly. For a handful of internal alerts use SMTP. For customer-facing transactional messages with tracking needs, prefer the API.
n8n: SMTP credential and Send Email node
- Open Credentials and create a new credential of type SMTP.
- Enter the host
smtp.migosmtp.comand the user and password from your sending account. - For port 465, switch the SSL/TLS option on. For port 587, leave it off, because the connection starts in plain text and upgrades with STARTTLS.
- Add a Send Email node, select the credential, and set From Email to an address on your authenticated domain.
- Fill To, Subject and the body, choose HTML or text, and run the node with test data first.
If the node fails with a connection error, test the same host and port from the machine that runs n8n, since a container or VPS may block the port. The test commands are in testing an SMTP connection. In n8n you can also call an API with the HTTP Request node.
curl -sS -X POST https://api.migosmtp.com/v1/send \
-H "Authorization: Bearer $MIGOSMTP_API_KEY" \
-H "Content-Type: application/json" \
--data @payload.json
# payload.json holds the recipient, from address, subject and body.
# Field names are listed in the API reference.Use the same pattern in an HTTP Request node: method POST, header Authorization: Bearer plus your key from a credential, JSON body mapped from earlier nodes. Field names are in the API reference.
Make: Email app and HTTP module
Make offers an Email app with a Send an Email module, and a connection type that lets you enter your own SMTP server details instead of a mailbox account. Create a connection with host, port, TLS option, username and password, then map To, Subject and Content from earlier modules. The HTTP app can instead make an authenticated request to an email API. Module names and connection options evolve, so use the label that matches your current interface.
Two Make-specific habits help. Put the email module behind a filter so that it runs only for records that should trigger a message, and enable the error handler route so that a failed send is captured rather than silently discarded. Remember that scenarios can run on a schedule and process many bundles at once, which multiplies how many messages hit your relay in a short time.
Zapier: SMTP and webhook options
Zapier has its own Email by Zapier app, which is designed for simple notifications and sends from a Zapier identity, so it is not appropriate for mail that needs your brand and your domain reputation. For your own domain, look for an SMTP-capable app in the current app directory, or use Webhooks by Zapier to call an email API with a POST request, a Bearer header and a JSON body. Plan features and task limits change, so check your Zapier plan for webhook and multi-step availability before you design around them.
Authenticate the domain before you automate
Automation tools make it easy to send hundreds of messages from a new address within minutes. If the From domain has no SPF, DKIM or DMARC, those messages are far more likely to be rejected or junked, and a burst from an unauthenticated address can damage reputation quickly. Complete the steps in authenticating your sending domain first, and check the result with the SPF, DKIM and DMARC checker. Since 2024, large mailbox providers have set explicit requirements for bulk senders, summarised in the bulk sender requirements.
Limits and failure modes to plan for
| Risk | What happens | Mitigation |
|---|---|---|
| Retries after a timeout | The tool retries a step that actually succeeded, and the recipient gets two copies | Use an idempotency key if the API supports one, or log sent IDs and check before sending. See idempotency and retries |
| Loops and triggers on your own mail | An inbound email trigger fires on a reply and sends another email, forever | Filter out auto-replies and your own address. See mail loops |
| Platform concurrency | Many runs send at once and trip relay rate limits | Add a delay or queue step, and handle 4xx responses with backoff. See rate limits and backoff |
| Bad data in templates | Blank names, broken links or raw placeholders in the email | Set fallback values and test with empty fields |
| Invalid recipients | High bounce rate from typos and old addresses | Validate addresses before sending. See validation before sending |
| Credentials in plain view | API keys pasted into steps and shared with the team | Use the tool credential store, limit key permissions and rotate on staff changes |
Make the automation observable
A workflow that sends email without logging is a liability. Record at least the recipient, template, timestamp and returned message ID for every send, and store the provider status that comes back. Use webhooks from your sending service to receive delivered, bounced and complaint events, then route those events into the same workflow tool. Hard bounces and spam complaints should add the address to a suppression list so that automations never mail it again. Our guides on webhook events and suppression lists cover the details.
Separate transactional automations (receipts, alerts, password resets) from marketing automations (newsletters, drips) using different From addresses or subdomains so that a complaint on a promotion does not affect critical mail. See separating streams.
Troubleshooting common errors
| Error or symptom | Likely cause | Fix |
|---|---|---|
| Connection timeout | Host blocks the port, wrong host, firewall | Test from the same machine, try another port or use the API |
| Wrong version number or SSL error | TLS mode does not match the port | 465 needs implicit TLS on, 587 needs it off with STARTTLS |
| 535 authentication failed | Wrong username or password, or key expired | Regenerate credentials and re-enter them. See 535 fix |
| 550 sender not allowed | From address on a domain that is not verified | Verify the domain and use it as From |
| Email goes to spam | Missing authentication, bad content or new domain | Check headers, SPF, DKIM, DMARC and warm up gradually |
| Duplicates | Retry or double trigger | Add idempotency and deduplicate triggers |
| Works in test, fails live | Different credentials or environment variables | Compare connections and variables between environments |
When to choose which tool
n8n suits teams that want self-hosting and fine control. Make suits visual, multi-branch scenarios. Zapier suits quick linear workflows across many SaaS apps. For all three, treat email as a service with its own reputation: use a dedicated authenticated domain, monitor bounces, and move high volume or customer-facing mail to a proper sending API instead of stretching a workflow tool beyond its role.
Connect your automations to a real relay Use smtp.migosmtp.com on 587 or 465, or call the email API from any HTTP step.
References and further reading
Frequently asked questions
Which port should I use in n8n, Zapier or Make?
Use 587 with STARTTLS or 465 with implicit TLS. In tools with an SSL/TLS toggle, switch it on for 465 and off for 587.
Can I send from my own domain in Zapier?
Yes, through an SMTP-capable app or a Webhooks step that calls an email API. The built-in Email by Zapier app uses a Zapier sending identity.
Why do my workflow emails go to spam?
Most often the From domain lacks SPF, DKIM or DMARC authentication, or the workflow sends bursts from a brand new address.
How do I stop duplicate emails from retries?
Use an idempotency key when the API supports one, or record sent message IDs and check them before each send.
Should I use SMTP or an API from automation tools?
SMTP is fine for simple alerts. An API call gives better control, structured errors and metadata for customer-facing mail.