# Short tutorials for common agent tasks.

Practical recipes for sending email, receiving webhooks, handling 2FA, storing credentials, and other one-off tasks that don't need a whole framework guide.

## How to forward email
You want the agent to process mail that was sent to your real inbox, without handing it OAuth access. Forwarding rules are the answer.

[Read →](/content/how-to/forward-email-ai-agent/index.html)

## How to give an AI agent
Not an alias, not a shared mailbox, not your Gmail. A real inbox the agent owns and reads from on its own identity — set up in about a minute.

[Read →](/content/how-to/give-ai-agent-inbox/index.html)

## How to handle 2FA
When the login screen asks for a six-digit code, the agent should answer — without waking you up at 3am to read your authenticator app.

[Read →](/content/how-to/handle-2fa-ai-script/index.html)

## How to let an AI agent
Sign-up flows assume a human with an inbox and a phone. Here's how to give the agent both — and let it complete the flow without a person in the loop.

[Read →](/content/how-to/agent-sign-up-for-service/index.html)

## How to make an AI agent
Correct threading is the difference between an agent that looks like an assistant and an agent that looks like spam. Here's how to get it right.

[Read →](/content/how-to/agent-reply-to-email/index.html)

## How to make Claude
Tell Claude to send an email and it does — by pointing Claude Desktop or the Claude Agent SDK at a Loomal MCP server.

[Read →](/content/how-to/send-email-from-claude/index.html)

## How to parse an email reply
Raw email bodies are a mess of quoted history, signatures, and disclaimers. Here's how to hand the model only the content it needs.

[Read →](/content/how-to/parse-email-reply-llm/index.html)

## How to receive
Let your agent act on incoming mail the moment it arrives — no polling, no IMAP, just an HTTP endpoint Loomal calls when mail lands.

[Read →](/content/how-to/receive-webhook-emails-nodejs/index.html)

## How to send email (Node.js)
The shortest working recipe for making a Node.js agent send email from its own DKIM-signed address. No SMTP, no OAuth.

[Read →](/content/how-to/send-email-nodejs-ai-agent/index.html)

## How to send email (Python)
The shortest working recipe for making a Python agent send email from its own address — no SMTP setup, no OAuth, just an API key.

[Read →](/content/how-to/send-email-python-ai-agent/index.html)

## How to store API keys
Not in .env. Not in a JSON config. Not in a shared secrets manager with wildcard scopes. Here's what actually works for autonomous agents.

[Read →](/content/how-to/store-api-keys-ai-agent/index.html)

## How to verify who
An agent that acts on email content is vulnerable to spoofed senders. Here's how to check DKIM, SPF, and DMARC before trusting a message.

[Read →](/content/how-to/verify-email-sender-ai-agent/index.html)
