n8n

How to Automate Gmail Team Inbox Summaries?

Start your day with a clear view of your inbox. Every morning at 7 AM, a Gmail digest lands in your mailbox with key points and action items. It suits team leads, founders, and ops managers who want quick insight without opening every email.

At 7 AM a schedule starts the flow. Gmail pulls all messages from the last 24 hours. An Aggregate step organizes sender, recipients, CC, and a short preview. OpenAI reads this list and produces a short summary, key issues, and action items in JSON. A final Gmail step sends a styled HTML report with the date range in the subject.

You only need Gmail and OpenAI accounts. Set your query to the right mailbox or label, choose who should receive the digest, and adjust the send time. Most teams cut morning email review from one hour to a few minutes, making it useful for leadership updates, support handovers, and daily sales recaps.

What are the key features?

  • Daily 7 AM schedule that runs without manual work
  • Gmail search pulls the last 24 hours of messages
  • Return all messages so nothing is missed
  • Aggregate step organizes sender, recipients, CC, and a short preview
  • OpenAI creates a structured summary with key issues and action items
  • JSON output from OpenAI keeps the format consistent
  • Styled HTML email with a subject that shows the date range
  • Easy to set recipients and CC for your team

What are the benefits?

  • Reduce morning inbox review from 60 minutes to 5 minutes
  • Automate 90% of daily email triage with one summary
  • Improve follow up accuracy by 80% with clear action items
  • Connect Gmail and OpenAI in one workflow
  • Handle 10 times more messages without extra effort

How do you set it up?

  1. Import the template into n8n: Create a new workflow in n8n, click the three dots menu, select 'Import from File', then choose the downloaded JSON file
  2. You'll need accounts with Gmail and OpenAI. See the Tools Required section above for links to create accounts with these services.
  3. In the n8n credentials manager, create a Gmail OAuth2 credential. Double click the Gmail nodes, choose Credential to connect with, click Create new credential, then follow the on screen steps to grant read and send access.
  4. Open the OpenAI node and create an OpenAI API Key credential. Get your API key from your OpenAI account, paste it into n8n, and save.
  5. Open the Schedule Trigger and confirm the time. Change the hour if your team starts earlier or later.
  6. Open the Fetch Emails node. Update the search query to match your mailbox or label so it pulls the right messages for the last 24 hours.
  7. Review the Aggregate node. It includes id, From, To, CC, and snippet. Keep as is or adjust if you want more fields available to the summary.
  8. Check the OpenAI node prompt and model. Keep JSON output on so the email body can use a stable structure.
  9. Open the Send Summary Gmail node. Set sendTo and ccList with your team emails. Edit the subject line text if you want different wording.
  10. Click Execute workflow to run a test. Verify that a summary email arrives in your inbox and that the formatting is clear.
  11. If Gmail returns no messages, loosen the search query and confirm Gmail access. If OpenAI fails, check the API key and usage limits.
  12. When satisfied, save the workflow and switch it to Active so it runs every morning.

Tools Required

$24 / mo or $20 / mo billed annually to use n8n in the cloud. However, the local or self-hosted n8n Community Edition is free.

Gmail

Sign up

No cost: Personal Gmail (Gmail API has no usage-based pricing; quotas apply)

OpenAI

Sign up

Pay-as-you-go: GPT-5 at $1.25 per 1M input tokens and $10 per 1M output tokens

Similar Templates

Join Futurise to access 1,200+ automation templates

Get instant access to ready-made automation workflows for n8n, Make.com, AI agents, and more. Download, customise, and deploy in minutes.