docs/docs/en/workflow/nodes/mailer.md
Used to send emails. Supports content in text and HTML formats.
In the workflow configuration interface, click the plus ("+") button in the flow to add a "Send email" node:
Each option can use variables from the workflow context. For sensitive information, global variables and secrets can also be used.
When sending some emails, you may encounter the following error:
{
"code": "ECONNECTION",
"response": "421-4.7.0 Try again later, closing connection. (EHLO)\n421-4.7.0 For more information, go to\n421 4.7.0 About SMTP error messages - Google Workspace Admin Help 3f1490d57ef6-e7f7352f44csm831688276.30 - gsmtp",
"responseCode": 421,
"command": "EHLO"
}
This is because Gmail rate-limits sending requests from domains that are not specified. When deploying the application, you need to configure the server's hostname to the domain you have configured in Gmail. For example, in a Docker deployment:
services:
app:
image: nocobase/nocobase
hostname: <your-custom-hostname> # Set to your configured sending domain
Reference: Google SMTP Relay - Intermittent problems