🪟 Windows TippsThe Gemini desktop app is now available for Windows(11.09.2026 um 17:06 Uhr)
🔧 AI Nachrichten ChatGPT automatically logged out [Fix](12.09.2026 um 17:09 Uhr)
🪟 Windows TippsHow to remove a Drop-Down list in Excel(13.09.2026 um 01:50 Uhr)
⚠️ Malware / Trojaner / VirenWindows 11 just dropped the tool ransomware abused, Microsoft says don’t restore WMIC(10.09.2026 um 20:11 Uhr)
🪟 Windows TippsServertimeout in Outlook über 10 Minuten verlängern(12.09.2026 um 15:10 Uhr)
🪟 Windows TippsThe Gemini desktop app is now available for Windows(11.09.2026 um 17:06 Uhr)
🔧 AI Nachrichten ChatGPT automatically logged out [Fix](12.09.2026 um 17:09 Uhr)
🪟 Windows TippsHow to remove a Drop-Down list in Excel(13.09.2026 um 01:50 Uhr)
⚠️ Malware / Trojaner / VirenWindows 11 just dropped the tool ransomware abused, Microsoft says don’t restore WMIC(10.09.2026 um 20:11 Uhr)
🪟 Windows TippsServertimeout in Outlook über 10 Minuten verlängern(12.09.2026 um 15:10 Uhr)

🔧 Programmierung 🕛 vor 5 Monaten 5 Min Lesezeit
0

How to Give Your AI Agent Its Own Email Address (Free, No Setup)

↗ Quelle (dev.to)
🗣️ Stimme:
📑 Inhaltsübersicht

AI agents that interact with the real world need real email addresses. Whether your agent is signing up for services, receiving verification codes, or managing customer conversations — it needs its own inbox.



KeyID gives every agent a real email address in one API call. No human setup, no domain configuration, no API keys to provision upfront. Free for 1,000 accounts.






What you'll build



By the end of this tutorial, your AI agent will be able to:




  1. Self-provision a real email address

  2. Send and receive emails

  3. Extract verification codes automatically

  4. Complete website signups end-to-end

  5. Generate TOTP 2FA codes






Option A: MCP (Claude, Cursor, Windsurf)



If you're using an MCP-compatible client, you don't need to write any code. Just connect the KeyID MCP server.






Hosted (recommended — zero install)



Add this to your MCP client config:




CODE
{
"mcpServers": {
"keyid": {
"url": "https://keyid.ai/mcp"
}
}
}






That's it. Your agent now has access to 47 tools for email, SMS, verification, and signup workflows.






Local (stdio)






CODE
{
"mcpServers": {
"keyid": {
"command": "npx",
"args": ["-y", "@keyid/agent-kit"]
}
}
}









What your agent can do via MCP



Once connected, your agent gets tools like:





  • keyid_provision — get an email address instantly


  • keyid_get_inbox / keyid_get_message — read incoming mail


  • keyid_send / keyid_reply — send email


  • keyid_get_codes — extract OTP verification codes from a message


  • keyid_get_links / keyid_follow_link — extract and follow verification links


  • keyid_start_registration_session — begin a tracked signup flow


  • keyid_generate_totp_code — generate 2FA codes



It also comes with pre-built prompts for common workflows:




CODE
set-up-agent-communications    → Provision email, get identity
complete-email-verification → Watch for code/link, extract it
run-signup-session → Full signup flow with browser state
autonomous-signup → Create persona, sign up, record result
fetch-latest-code → Get the newest verification code
triage-inbox → List messages, highlight urgent ones









Option B: JavaScript/TypeScript SDK






CODE
npm install @keyid/sdk









Provision an email






CODE
import { KeyID } from '@keyid/sdk';

const agent = new KeyID();

// One call — agent gets a real email address
const { email, agentId } = await agent.provision();
console.log(`Agent email: ${email}`);
// → [email protected]






No API key needed. The agent generates an Ed25519 keypair locally and authenticates via challenge-response.






Read the inbox






CODE
const { messages } = await agent.getInbox();

for (const msg of messages) {
console.log(`From: ${msg.from} | Subject: ${msg.subject}`);
}

// Search for specific emails
const results = await agent.getInbox({ search: 'verification' });









Extract verification codes






CODE
// Get OTP codes from a message
const { codes } = await agent.getCodes(messageId);
console.log(`Verification code: ${codes[0]}`);
// → 847291









Follow verification links






CODE
// Extract links and follow them server-side (SSRF-safe)
const { links } = await agent.getLinks(messageId);
const { finalUrl } = await agent.followLink({
messageId,
linkIndex: 0
});









Send email






CODE
await agent.send(
'[email protected]',
'Order inquiry',
'What is the status of order #12345?'
);









Complete a signup flow






CODE
// 1. Provision email
const { email } = await agent.provision();

// 2. Use the email to sign up on a website (via Playwright, Puppeteer, etc.)
await page.fill('#email', email);
await page.click('#submit');

// 3. Wait for verification email
const { messages } = await agent.getInbox();
const verificationEmail = messages.find(m =>
m.subject.includes('verify')
);

// 4. Extract the code
const { codes } = await agent.getCodes(verificationEmail.id);

// 5. Enter it on the website
await page.fill('#code', codes[0]);
await page.click('#verify');









Option C: Python SDK






CODE
pip install keyid









CODE
from keyid import KeyID

agent = KeyID()

# Provision
result = agent.provision()
print(f"Email: {result['email']}")

# Read inbox
inbox = agent.get_inbox()
for msg in inbox["messages"]:
print(f"{msg['from']}: {msg['subject']}")

# Extract verification code
codes = agent.get_codes(message_id)
print(f"Code: {codes[0]}")

# Send email
agent.send("[email protected]", "Hello", "Message body")









Real-world example: CrewAI email team






CODE
from crewai import Agent, Task, Crew
from keyid import KeyID

keyid = KeyID()
result = keyid.provision()

researcher = Agent(
role="Research Assistant",
goal="Find and summarize information via email",
backstory=f"You have your own email: {result['email']}"
)

task = Task(
description="Email [email protected] requesting API documentation",
agent=researcher
)

crew = Crew(agents=[researcher], tasks=[task])
crew.kickoff()









How it stays free



KeyID uses a shared domain pool. Agents get addresses on rotating domains that are managed for deliverability. When a domain's reputation degrades, it's rotated out and a fresh one takes its place.



This means:





  • No per-mailbox cost — domains are shared across agents


  • No domain management — KeyID handles DNS, DKIM, SPF, DMARC


  • No warm-up — domains are pre-warmed before going active


  • Free for 1,000 accounts — no credit card, no trial period



Competitors like AgentMail charge per mailbox. KeyID gives you the same capabilities at zero cost.






Signup sessions: held state for multi-step flows



When your agent is signing up for a service, things can get complicated — email verification, SMS codes, TOTP setup, CAPTCHAs. KeyID's signup sessions track the entire flow:




CODE
// Start a tracked registration
const session = await agent.startRegistrationSession({
service: 'github.com',
email: agent.email
});

// ... agent fills forms, triggers verification ...

// Artifacts (codes, links) are automatically matched to the session
const artifacts = await agent.getRegistrationArtifacts(session.id);

// Save browser state for later resumption
await agent.saveBrowserState(session.id, {
cookies: await page.context().cookies(),
url: page.url()
});









What's next





  • — source code, examples, SDK packages


  • — MCP server package


  • — Python SDK






KeyID is open-source and free for 1,000 agent accounts. Get started →

Vollständiger Original-Bericht
Ausführliche Details, Code-Beispiele & Hersteller-Stellungnahme auf dev.to.
↗ Original-Artikel auf dev.to lesen
Wie bewertest du diesen Beitrag?
1 Klick Feedback
Teilen mit Netzwerk & Team:

Community-Analysen & Experten-Meinungen 0

Verfasse deine eigene Analyse, teile Workarounds oder diskutiere diesen Vorfall im Blog.
Noch keine Community-Analyse verfasst. Markiere einen Textabschnitt oder klicke oben auf Eigene Analyse verfassen“!
Community Pulse: Relevanz-Einschätzung
1 Klick Experten-Votum
🔴 Akute Relevanz 0%
🟡 In Evaluierung 0%
🟢 Keine Auswirkung 0%
Spannende Innovation 0%
Verwandte Story-Cluster & Quellen (Vektor-KI)
Port 8095 Engine
1 Quelle
The Gemini desktop app is now available for Windows
1 Quelle
ChatGPT automatically logged out [Fix]
1 Quelle
How to remove a Drop-Down list in Excel
Ähnliche Beiträge
🔍 Verwandte News

Auch interessante Nachrichten How to Give Your AI Agent Its Own Email Address (Free, No Setup)

Thematisch verwandte Begriffe: Give, Your, Agent, Email · 6 Treffer

Laden...

Videos werden geladen ...

Laden...

Beiträge werden geladen ...

Laden...

Videos werden geladen ...

Laden...

Beiträge werden geladen ...

Laden...

Videos werden geladen ...

Laden...

Beiträge werden geladen ...

Laden...

Videos werden geladen ...

Laden...

Beiträge werden geladen ...

Laden...

Videos werden geladen ...