AutomationFlowsEmail & Gmail › Email to AI Summary

Email to AI Summary

Email to AI Summary. Uses emailReadImap, httpRequest, emailSend. Manual trigger; 3 nodes.

Manual trigger★☆☆☆☆ complexity3 nodesEmail Read ImapHTTP RequestEmail Send
Email & Gmail Trigger: Manual Nodes: 3 Complexity: ★☆☆☆☆ Added:

This workflow follows the Emailreadimap → Emailsend recipe pattern — see all workflows that pair these two integrations.

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": "Email to AI Summary",
  "active": false,
  "nodes": [
    {
      "parameters": {
        "mailbox": "INBOX",
        "postProcessAction": "nothing"
      },
      "id": "email_trigger",
      "name": "Email Trigger",
      "type": "n8n-nodes-base.emailReadImap",
      "typeVersion": 2,
      "position": [
        200,
        280
      ]
    },
    {
      "parameters": {
        "method": "POST",
        "url": "https://api.openai.com/v1/responses",
        "sendHeaders": true,
        "headerParameters": {
          "parameters": [
            {
              "name": "Authorization",
              "value": "Bearer {{$env.OPENAI_API_KEY}}"
            },
            {
              "name": "Content-Type",
              "value": "application/json"
            }
          ]
        },
        "sendBody": true,
        "bodyParameters": {
          "parameters": [
            {
              "name": "model",
              "value": "gpt-4.1-mini"
            },
            {
              "name": "input",
              "value": "Summarize this email for a business owner in 3 bullets: {{$json.text}}"
            }
          ]
        }
      },
      "id": "summarize_email",
      "name": "Summarize Email",
      "type": "n8n-nodes-base.httpRequest",
      "typeVersion": 4,
      "position": [
        500,
        280
      ]
    },
    {
      "parameters": {
        "toEmail": "={{$env.BUSINESS_ALERT_EMAIL}}",
        "subject": "New email summary",
        "text": "={{$json.output_text || JSON.stringify($json)}}"
      },
      "id": "send_summary",
      "name": "Send Summary",
      "type": "n8n-nodes-base.emailSend",
      "typeVersion": 2,
      "position": [
        800,
        280
      ]
    }
  ],
  "connections": {
    "Email Trigger": {
      "main": [
        [
          {
            "node": "Summarize Email",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Summarize Email": {
      "main": [
        [
          {
            "node": "Send Summary",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  },
  "meta": {
    "templateNote": "Use user-owned inbox credentials and review the OpenAI request body for your n8n version."
  }
}
Pro

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

About this workflow

Email to AI Summary. Uses emailReadImap, httpRequest, emailSend. Manual trigger; 3 nodes.

Source: https://github.com/emirhuseynrmx/n8n-business-automation-workflows/blob/main/workflows/email_to_ai_summary.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

Email Handler. Uses emailReadImap, httpRequest, emailSend. Manual trigger; 3 nodes.

Email Read Imap, HTTP Request, Email Send
Email & Gmail

This n8n workflow helps users easily discover nearby residential construction projects by automatically scraping and analyzing property listings from 99acres and other real estate platforms. Users can

Email Read Imap, HTTP Request, Email Send
Email & Gmail

This n8n workflow automates subdomain creation and deletion on GoDaddy using their API, triggered via email requests. This empowers developers to manage subdomains directly without involving DevOps fo

HTTP Request, Email Read Imap, Email Send
Email & Gmail

Summarize emails with A.I. then send to messenger. Uses emailReadImap, httpRequest, stickyNote. Manual trigger; 7 nodes.

Email Read Imap, HTTP Request
Email & Gmail

Summarize emails with A.I. then send to messenger. Uses emailReadImap, httpRequest, stickyNote. Manual trigger; 7 nodes.

Email Read Imap, HTTP Request