AI agent instructions
AI agent instructions
email_provider="agentmail" when you create the persona and it gets its own @agentmail.to address.
Use the persona’s email address in a sign-up form, then read the inbox to retrieve the site’s verification code or link.
Notte creates and manages the AgentMail inbox for you. You don’t need an AgentMail account or API key.
Prerequisites
- A Notte API key (get one here)
- The Notte Python SDK (
pip install notte-sdk), in a version that supports theemail_provideroption
Create a persona with an AgentMail inbox
Passemail_provider="agentmail" when you create the persona. The default is "notte".
agentmail_persona.py
email_provider to POST /personas/create:
email_provider, so you can check which inbox a persona uses.
Read emails from the inbox
You can also read the inbox yourself, for example to extract a verification code or link in your own code:agentmail_read_emails.py
email.links() returns the URLs found in the text body.
Limitations
- AgentMail inboxes are receive-only. Personas cannot send email.
- Deleting the persona also deletes its AgentMail inbox.
Next steps
Persona Identities
Everything a persona can do.