How to Send Emails from OpenClaw
OpenClaw runs locally and takes instructions from your messaging apps — Telegram, Discord, Signal. It’s handy for personal automation, but out of the box it can’t send email. AgentPatch adds that capability without any additional accounts or SMTP configuration.
Why This Matters
Sending email is a common automation task: notifying someone when something finishes, following up on a task, forwarding a summary to a colleague. Without an email tool, OpenClaw can draft the message but you have to send it yourself.
With AgentPatch’s Email tool connected, OpenClaw can send the email directly. You ask it to send a message, it sends it, and you get confirmation back in your chat. Plain text and HTML both work.
Setup
Add AgentPatch to ~/.openclaw/openclaw.json:
{
"mcp": {
"servers": {
"agentpatch": {
"transport": "streamable-http",
"url": "https://agentpatch.ai/mcp",
"headers": {
"Authorization": "Bearer YOUR_API_KEY"
}
}
}
}
}
Replace YOUR_API_KEY with your actual key from the AgentPatch dashboard. Restart OpenClaw and it discovers all AgentPatch tools automatically.
Example
You’ve been using OpenClaw to monitor something — a server metric, a file change, a scheduled check. When it’s done, you want a notification:
“Send an email to [email protected] with the subject ‘Build finished’ and let me know it completed without errors.”
OpenClaw calls the Email tool through AgentPatch and sends the message. You get an email in your inbox and a confirmation message back in your Telegram chat.
Or a more direct delegation task:
“Draft and send a follow-up email to [email protected]. Subject: Re: Project timeline. Body: Let them know I’m reviewing the proposal and will respond by Thursday.”
OpenClaw writes the email and sends it in one step. You don’t have to open your email client.
This works for any scenario where you’d normally type out an email yourself: status updates, meeting confirmations, quick summaries, forwarding a piece of information to someone.
Wrapping Up
Email sending is one capability in the AgentPatch marketplace. Once connected to OpenClaw, you also get YouTube transcripts, web search, image generation, and more — all from the same Telegram or Discord chat. Visit agentpatch.ai to get your API key.