Mails

From clowlove/Hermes-House · View interactive version

Mails is an AI agent skill from the GitHub repository clowlove/Hermes-House. Email infrastructure for AI agents - send/receive emails via Mails.dev

How to use this skill

Skill file

Mails.dev Email CLI

Email infrastructure for AI agents. Send and receive emails from imclaw@mails.dev.

Configuration

Already configured:

Requires bun runtime. Path: ~/.bun/bin/bun

Common Operations

Send Email

export BUN_INSTALL="$HOME/.bun" && export PATH="$BUN_INSTALL/bin:$PATH"
mails send --to <recipient> --subject "<subject>" --body "<message>"

Example:

mails send --to user@example.com --subject "Hello" --body "Test message"

With HTML:

mails send --to user@example.com --subject "Report" --html "<h1>Report</h1><p>Data...</p>"

Check Inbox

mails inbox                           # List recent emails
mails inbox --mailbox imclaw@mails.dev  # List for specific mailbox
mails inbox --query "keyword"         # Search emails
mails inbox <id>                      # Read specific email
mails inbox <id> --save               # Save attachments

Verify Email (for confirmation codes)

mails code --to imclaw@mails.dev --timeout 60

Workflows

Automated Report Sending

#!/bin/bash
export BUN_INSTALL="$HOME/.bun"
export PATH="$BUN_INSTALL/bin:$PATH"

REPORT_DATE=$(date +%Y-%m-%d)
mails send \
  --to recipient@example.com \
  --subject "Daily Report - $REPORT_DATE" \
  --body "See attached report for $REPORT_DATE"

Email Alert Integration

# In cron or automation script
mails send --to imclaw@mails.dev --subject "[Alert] System Issue" --body "Description of issue"

Notes

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.