Fastmail

Send emails via Fastmail SMTP. Requires app password setup.

notabanker 76ffa8e 3 files · 8.0 KB Updated

File contents

Fastmail Integration

Send emails through Fastmail using SMTP.

Setup

  1. Get Fastmail app password: Settings → Privacy & Security → App Passwords → New
  2. Store credentials:
    mkdir -p ~/.config/fastmail
    echo 'you@fastmail.com:xxxx-app-password-xxxx' > ~/.config/fastmail/creds
    chmod 600 ~/.config/fastmail/creds
    

Usage

Send email:

python3 /home/boss/.openclaw/workspace/skills/fastmail/scripts/send.py \
  --to recipient@example.com \
  --subject "Hello" \
  --body "Email body here"

HTML email:

python3 /home/boss/.openclaw/workspace/skills/fastmail/scripts/send.py \
  --to recipient@example.com \
  --subject "Hello" \
  --body "<h1>HTML</h1><p>Content</p>" \
  --html

notabanker/codexclawd/tree/main/skills/fastmail commit 76ffa8e656

Frequently asked questions

npx skillmds@latest add notabanker/fastmail