Email Analysis Agent
Description
An agent implementation to analyse your emails asynchronously with Deepseek and Upstash Workflow
Installation
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open the source below and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
README
Email Analysis Workflow with DeepSeek V3
This project allows you to automatically analyze email threads and their attachments using AI. When you forward an email to specific email address, Zapier will trigger a webhook that processes the content and sends back an AI generated response suggestion.
Setup Instructions
For more detailed setup guide, see the [related blog post](https://upstash.com/blog/email-analysis-agent).
1. Set Environment Variables
This application uses **Resend** to send emails and **DeepSeek** for LLMs. To run the application, you need the following environment variables in the `.env` file.
DEEPSEEK_API_KEY=
QSTASH_TOKEN=
RESEND_API_KEY=
2. Deploy Your API Endpoint
First, deploy your API endpoint that will receive the webhook from Zapier. The endpoint should be accessible at
https:///analyze
You can also use `ngrok` to setup a publicly accessible endpoint on your local. See [local development guide](https://upstash.com/docs/workflow/howto/local-development)
3. Configure Zapier Integration
Step 1: Create a New Zap
- Go to Zapier and click "Create Zap"
- Name your Zap (e.g., "Email Analysis Workflow")
Step 2: Configure Gmail Trigger
- Choose "Gmail" as your trigger app
- Select "New Email" as the trigger event
- Connect your Gmail account if not already done. This email address will be the account you'll forward the emails to get the response suggestions.
- Optional: Add filters to only trigger on specific emails

Step 4: Configure Webhook Action
- Add a new action step
- Choose "Webhooks by Zapier"
- Select "POST" as the action event
- Configure the webhook with these settings:
- URL: Your API endpoint (e.g.,
https://your-domain.com/api/analyze) - Payload Type:
json - Data:
{ "message": "{{body_plain}}", "subject": "{{subject}}", "to": "{{to_email}}", "attachment":
Related Skills
prompts.chat
| f.k.a. Awesome ChatGPT Prompts. Share, discover, and collect prompts from the community. Free and open sourc
Communication Internal Comms
Write internal communications like status reports, newsletters, and FAQs
Communication mcp-server-slack
Slack workspace integration.
Communication Google Workspace Groups Settings
Manage Google Groups settings
Communication Open Saas
A 100% free modern JS SaaS boilerplate (React, NodeJS, Prisma). Full-featured: Auth (email, google, github, sl
slack
| Communication | Slack integration via HTTP/OAuth MCP |
Communication