The Idea
Creating accounts online typically requires email verification. This template automates the entire process by combining Browser Use with AgentMail to handle email verification codes automatically.
Requirements
You'll need two API keys:
- AgentMail - For temporary inbox creation
- Browser Use - For LLM-powered web automation
Get your Browser Use API Key here
Get your AgentMail API Key here
Installation
uvx browser-use init --template agentmail
How It Works
The template includes two primary functions:
get_email_address() - Returns email address of agent inbox
get_latest_email() - Checks for unread emails
Using these functions, the agent performs the following workflow:
- Creates a temporary email inbox
- Navigates to registration pages
- Fills forms with the temporary email
- Retrieves verification codes from incoming emails
- Completes email verification
