Skip to content
NEWMarketplace and the trig8n Agent: sell what you build, and get plans and changes that are tested before you see them. See what is new

Library / Email Automation

Email Automation

Prioritize Unread Gmail Messages with an OpenAI Agent

Every hour, the workflow collects unread Gmail messages and an OpenAI agent ranks which ones deserve your attention first.

What it does

### 💡 Schedule Trigger This runs every hour. You can change the interval here depending on how often you want your Gmail to be processed.

The steps

  1. Edit Fields
  2. AI Agent
  3. Structured Output Parser
  4. Schedule Trigger
  5. OpenAI Chat Model
  6. Get All Unread Messages
  7. Switch
  8. OpenAI Fall Back Model
  9. Delete email
  10. Mark email as read
  11. Add label "Receipt" to email
  12. Add label "Action" to email
  13. Add label "Informational" to email

Similar automations