Send & Receive Emails with Replit
Use the AgentMail integration directly on replit.com to send and receive emails
Replit builds apps and agents from natural-language prompts. Enable the AgentMail integration and anything it builds gets an email inbox of its own to send, receive, and reply from.
What you will need
- A Replit account.
- An AgentMail API key, if you connect with a key. Generate one here.
Connect AgentMail
Open Settings from the workspace menu (bottom-left), go to Integrations, and search AgentMail. Pick how you want to authenticate:
- Use an API key — enable the AgentMail integration (the first result), paste your API key, and click Configure.
- Use OAuth sign-in — choose the MCP option instead and sign in to AgentMail when prompted. No API key needed.
Send a test email
In a chat, paste:
Create an AgentMail inbox and send a hi email from it to you@example.com.Next Steps
Was this page helpful?Suggest editsRaise issue