email-manager-with-db

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

Safety Notice

This listing is from the official public ClawHub registry. Review SKILL.md and referenced scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "email-manager-with-db" with this command: npx skills add mguozhen/email-manager-with-db

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 <email> --password <app-password> [--imap-host <host>] [--imap-port <port>] [--smtp-host <host>] [--smtp-port <port>]
  • list: List all configured email accounts.
    • node cli.js account list
  • remove: Remove an email account.
    • node cli.js account remove <account-id>

test

Test the IMAP and SMTP connection for an account. node cli.js test <account-id>

sync

Sync emails from the server. node cli.js sync <account-id> [--folder <folder-name>] [--limit <number>]

inbox

List emails in the inbox. node cli.js inbox <account-id> [--limit <number>] [--unread] [--no-filtered]

read

Read the content of a specific email. node cli.js read <email-id>

send

Send an email. node cli.js send <account-id> --to <recipient> --subject "<subject>" --body "<body>"

search

Search for emails. node cli.js search <account-id> --query "<query>"

folders

List all folders for an account. node cli.js folders <account-id>

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 <from|to|subject> --pattern "<pattern>" [--account-id <id>]
  • remove: Remove a filter rule.
    • node cli.js filter remove <rule-id>

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 <number>]

  • 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).

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

General

Gmail IMAP

Read, search, send, trash, move, and label Gmail via IMAP. Requires GMAIL_IMAP_USER (Gmail address) and GMAIL_IMAP_PASSWORD (Google App Password) environment...

Registry SourceRecently Updated
512Profile unavailable
General

emailbox

职业邮箱收发与数据处理一体化工具。IMAP/SMTP protocol for 12+ providers (Gmail/Outlook/QQ/163/Yahoo/iCloud etc). Send/receive/search/schedule emails, HTML templates, attachmen...

Registry SourceRecently Updated
770Profile unavailable
General

163 Email Monitor

Connect to 163/126/yeah.net (Coremail) email via IMAP, read inbox, search emails, and send emails via SMTP. Activate when user asks to check email, read mail...

Registry Source
1560Profile unavailable
General

QQ Email Manager

企业邮箱管理(腾讯企业邮箱)。触发场景:用户说"查邮件"、"发邮件"、"回复邮件"、"转发邮件"、 "邮件列表"、"未读邮件"、"搜索邮件"、"邮箱统计"、"标记已读"等邮箱相关操作。

Registry Source
5230Profile unavailable