M Matrixly.AI ← Marketplace

// MAIL · LIVE · HERMES + GROK

Email Assistant

Triage anwar.chowdhury@matrixbazaar.com over Hostinger IMAP (same stack as Thunderbird), draft replies, flag urgent items, and get a daily executive brief.

Hostinger IMAP Draft-only sends Daily cron

1. Triage

Score unread mail and apply Matrixly/* labels (Urgent, Needs Reply, FYI…).

2. Flag urgent

Keyword + VIP + Grok ranking for payments, deadlines, legal, and shipping exceptions.

3. Draft replies

Creates Gmail drafts only — human approval before anything leaves the mailbox.

4. Daily brief

Executive summary of the last 24h, saved as markdown and emailed to you.

Deploy on this machine

Agent code lives at agents/email-assistant. Hermes skill: email-assistant. Primary mailbox default: anwar.chowdhury@matrixbazaar.com.

Step A — Python env

cd C:\Users\anwar\projects\matrix-six\agents\email-assistant
python -m venv .venv
.\.venv\Scripts\Activate.ps1
pip install -r requirements.txt
copy .env.example .env

Step B — Mailbox password (Thunderbird / Hostinger)

IMAP imap.hostinger.com:993 · SMTP smtp.hostinger.com:465 · user anwar.chowdhury@matrixbazaar.com

  1. Copy .env.example.env
  2. Set EMAIL_IMAP_PASSWORD to the same password Thunderbird uses
  3. Do not paste the password into chat — keep it only in local .env
  4. Connect:
python -m src.cli auth
python -m src.cli profile

Optional Gmail API path: agents/email-assistant/scripts/setup_oauth.md

Step C — Run the agent

python -m src.cli triage
python -m src.cli urgent
python -m src.cli draft --message-id <id>
python -m src.cli summary
python -m src.cli summary --no-send

Step D — Hermes skill + daily cron

hermes -s email-assistant -z "Triage my unread Gmail and list anything urgent"

hermes cron create "0 8 * * *" --name "email-daily-brief" --skill email-assistant --workdir "C:\Users\anwar\projects\matrix-six\agents\email-assistant" "Run daily email brief: python scripts/run_daily_summary.py"

hermes cron create "0 7 * * 1-5" --name "email-morning-triage" --skill email-assistant --workdir "C:\Users\anwar\projects\matrix-six\agents\email-assistant" "Morning triage: python scripts/run_triage.py"
Safety: Replies are draft-only by default. The daily brief emails you only (summary.deliver_to). Never commit data/credentials.json or data/token.json.