AutomationFlowsEmail & Gmail › Mail

Mail

mail. Uses gmail. Webhook trigger; 3 nodes.

Webhook trigger★☆☆☆☆ complexity3 nodesGmail
Email & Gmail Trigger: Webhook Nodes: 3 Complexity: ★☆☆☆☆ Added:

The workflow JSON

Copy or download the full n8n JSON below. Paste it into a new n8n workflow, add your credentials, activate. Full import guide →

Download .json
{
  "name": "mail",
  "nodes": [
    {
      "parameters": {
        "httpMethod": "POST",
        "path": "roacts-send-email",
        "options": {}
      },
      "type": "n8n-nodes-base.webhook",
      "typeVersion": 2.1,
      "position": [
        0,
        0
      ],
      "id": "d8dc7ac7-a570-4133-9099-2323194d5cc8",
      "name": "Webhook"
    },
    {
      "parameters": {
        "respondWith": "json",
        "responseBody": "{\n  \"success\": true,\n  \"message\": \"Email trimis cu succes\",\n  \"timestamp\": \"{{ $now }}\"\n}",
        "options": {}
      },
      "type": "n8n-nodes-base.respondToWebhook",
      "typeVersion": 1.5,
      "position": [
        416,
        0
      ],
      "id": "b330a38f-4a46-44c1-b635-0b1ad178dfe5",
      "name": "Respond to Webhook"
    },
    {
      "parameters": {
        "sendTo": "={{ $json.body.to }}",
        "subject": "={{ $json.body.subject }}",
        "emailType": "text",
        "message": "={{ $json.body.body }}",
        "options": {}
      },
      "type": "n8n-nodes-base.gmail",
      "typeVersion": 2.2,
      "position": [
        208,
        0
      ],
      "id": "f576c345-924c-4a29-832a-688d84839f99",
      "name": "Send a message",
      "credentials": {
        "gmailOAuth2": {
          "name": "<your credential>"
        }
      }
    }
  ],
  "connections": {
    "Webhook": {
      "main": [
        [
          {
            "node": "Send a message",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Send a message": {
      "main": [
        [
          {
            "node": "Respond to Webhook",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  },
  "active": false,
  "settings": {
    "executionOrder": "v1",
    "binaryMode": "separate"
  },
  "versionId": "54a29773-6915-4475-87d6-5a9ca23befd9",
  "meta": {
    "templateCredsSetupCompleted": true
  },
  "id": "r0ztb31CMeRN6y8o",
  "tags": []
}

Credentials you'll need

Each integration node will prompt for credentials when you import. We strip credential IDs before publishing — you'll add your own.

Pro

For the full experience including quality scoring and batch install features for each workflow upgrade to Pro

About this workflow

mail. Uses gmail. Webhook trigger; 3 nodes.

Source: https://github.com/filipcsibi/roacts/blob/d90eccd38f0fbdf6ff7bd1bd015fd76398584c7a/n8n/mail.json — original creator credit. Request a take-down →

More Email & Gmail workflows → · Browse all categories →

Related workflows

Workflows that share integrations, category, or trigger type with this one. All free to copy and import.

Email & Gmail

Receive a URL via Webhook, submit it to urlscan.io, wait ~30 seconds for artifacts (e.g., screenshot), then email a clean summary with links to the result page, screenshot, and API JSON. Ingests a URL

Url Scan Io, Gmail
Email & Gmail

Send-Draft. Uses gmail, googleDrive, telegram. Webhook trigger; 6 nodes.

Gmail, Google Drive, Telegram
Email & Gmail

AEJaCA — Newsletter Signup (10% discount). Uses postgres, gmail. Webhook trigger; 6 nodes.

Postgres, Gmail
Email & Gmail

Google Sheet Watch Changes. Uses gmail, httpRequest. Webhook trigger; 5 nodes.

Gmail, HTTP Request
Email & Gmail

LUMIO — High Risk Alert (Parent). Uses gmail. Webhook trigger; 5 nodes.

Gmail