🎁 Get the FREE AI Skills Starter Guide β€” Subscribe β†’
BytesAgainBytesAgain
πŸ¦€ ClawHub

Email Manager with DB

by @mguozhen

Email account manager with IMAP/SMTP support and local database. Manage multiple email accounts, sync inbox, send emails, search, set filters, and generate d...

TERMINAL
clawhub install email-manager-with-db

πŸ“– About This Skill


name: email-manager-with-db description: "Email account manager with IMAP/SMTP support and local database. Manage multiple email accounts, sync inbox, send emails, search, set filters, and generate daily send reports. Triggers: email manager, manage email, send email, check inbox, email account, imap smtp, email report, email filter" allowed-tools: Bash

Email Manager Skill

This skill manages email accounts and interacts with them via IMAP and SMTP.

Commands

account

Manage email accounts.

  • add: Add a new email account.
  • - node cli.js account add --email --password [--imap-host ] [--imap-port ] [--smtp-host ] [--smtp-port ]
  • list: List all configured email accounts.
  • - node cli.js account list
  • remove: Remove an email account.
  • - node cli.js account remove

    test

    Test the IMAP and SMTP connection for an account. node cli.js test

    sync

    Sync emails from the server. node cli.js sync [--folder ] [--limit ]

    inbox

    List emails in the inbox. node cli.js inbox [--limit ] [--unread] [--no-filtered]

    read

    Read the content of a specific email. node cli.js read

    send

    Send an email. node cli.js send --to --subject "" --body ""

    search

    Search for emails. node cli.js search --query ""

    folders

    List all folders for an account. node cli.js folders

    filter

    Manage email filters.

  • list: List all filter rules.
  • - node cli.js filter list [account-id]
  • add: Add a new filter rule.
  • - node cli.js filter add --field --pattern "" [--account-id ]
  • remove: Remove a filter rule.
  • - node cli.js filter remove

    stats

    Show statistics about emails. node cli.js stats [account-id]

    report

    Daily send report: how many emails were sent and how many failed. Defaults to today. Use --date to specify a date, or --days for a multi-day range.

    node cli.js report [account-id] [--date YYYY-MM-DD] [--days ]

  • No flags: today's report
  • --date 2026-03-31: report for a specific date
  • --days 7: report for the last 7 days (broken down by day)
  • Output includes: total / sent / failed counts, success rate, and recent failure details (recipient, subject, error message).