Find patterns in your incoming email
Turn a stream of new messages into a quick view of who is contacting you and what keeps coming up.
Trigger
New Email Received
Trigger for new emails in an AgentMail inbox
Action
Execute Code
Execute python code in a sandbox and return any result, stdout, stderr, and error. use /home/user folder to write/read files. try to not use plt.show() as the code is executed remotely. use files for image/chart output instead.
Why this helps
Important patterns are easy to miss when you scan messages one at a time.
- Summarize recurring senders and subjects
- Notice message volume patterns
- Review results without manually sorting every email
Setup
Build it in a few focused steps.
- 1Connect Agent mail and Codeinterpreter once in the Notis portal.
- 2Create an automation and name it.
- 3Tell Notis to analyze each new email's available sender, subject, and timestamp data with Python, then summarize recurring patterns.
- 4Choose Agent mail's New Email Received trigger and select where run reports should go.
- 5Test with one real email and review the report.
Questions about this workflow
What information can the analysis use?
It can use message details returned by the trigger. Tell Notis which available details matter; provide any additional history or baseline you want compared.
Can it analyze older email too?
This workflow starts with a newly received email. To analyze older messages, provide the relevant data or files in the instruction or sandbox.
When this happens · Trigger
Do this · Action
Supported Triggers and Actions
Notis builds workflows that link Agent mail to Codeinterpreter. A trigger fires from one place; an action lands in another.
Agent mail triggers
Codeinterpreter actions
Recurring trigger
Notis starts this workflow on a schedule, such as daily, weekly, or during business hours.
Create Sandbox
Create a sandbox to execute python code in a jupyter notebook cell. this is useful for agents to communicate, execute code, see output, read files, write files, etc. it's like you own personal computer, but in the cloud. use /home/user folder to write/read files.
Webhook trigger
Notis starts this workflow when an external tool or custom backend sends an HTTP request.
Execute Code
Execute python code in a sandbox and return any result, stdout, stderr, and error. use /home/user folder to write/read files. try to not use plt.show() as the code is executed remotely. use files for image/chart output instead.
New Email Received
Trigger for new emails in an AgentMail inbox
Get File
Get a file from the sandbox and returns the file. the files should be read from /home/user folder.
Run Terminal Command
Run a command in the terminal and returns the stdout, stderr, and error code. use /home/user folder to write/read files.
Upload File
Upload a file to the sandbox environment. the files should be uploaded to the /home/user folder.
Connect any two apps with Notis in the middle.
Agent mail and Codeinterpreter, or any other combination from 1,000+ integrations.
When this happens · Trigger
Do this · Action
Save your first hour today.
7-day trial of any paid plan, with 20$ of usage included.
No card. Works with personal or business Codeinterpreter.