Skip to main content

llm-email

CMDOP Skill — install and use via CMDOP agent:

cmdop-skill install llm-email

Send emails via macOS Mail.app — compose, draft, send with AppleScript.

Install

pip install llm-email

Quick Start

from llm_email import send_email, init_db, close_db

await init_db()
result = await send_email(
    to="user@example.com",
    subject="Hello",
    body="Message body",
)
print(result)  # {"ok": True, "action": "send", ...}
await close_db()

CLI

python run.py send --to "a@b.com" --subject "Hello" --body "Message"
python run.py draft --to "a@b.com" --subject "Hello" --body "Message"
python run.py accounts
python run.py health
python run.py status
python run.py stats

All commands output JSON. Parse the ok field to check success.

Dashboard

email-dashboard

API

from llm_email import (
    send_email,      # send or draft an email
    list_accounts,   # list Mail.app accounts
    check_health,    # check if Mail.app is running
    show_status,     # recent sent email log
    show_stats,      # extended statistics
    check_duplicate, # deduplication check
)

License

MIT

Metadata

Release files for llm-email 0.1.7

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for llm-email 0.1.7
File Size Uploaded
llm_email-0.1.7.tar.gz 8.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for llm-email 0.1.7
File Interpreter ABI Platform
llm_email-0.1.7-py3-none-any.whl Python 3 none any Details

Total release size: 19.6 kB

Release files / llm_email-0.1.7.tar.gz

Download URL llm_email-0.1.7.tar.gz
Size 8.3 kB
Tags Source
SHA-256 checksum
How to use checksums
7759843c68dd010e2cfeb5d51d7ab0197878efdbb2e51c40a99cf2778675f5e2
BLAKE2b-256 checksum
How to use checksums
1ccbde6b5ad5cf9e7940cfab03be5d896880ec6c44d3610b17425f492d330bc9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.10.18

Release files / llm_email-0.1.7-py3-none-any.whl

Download URL llm_email-0.1.7-py3-none-any.whl
Size 11.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
6eb600e2157653fef6e0b3848284037a50f64825bb0cb3f24ed1b2697ddef340
BLAKE2b-256 checksum
How to use checksums
2e2e61f3947604c86e5e4d7956041fedee46939eaff78dd5f7cb50a9a535c373
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.10.18

Release history Release notifications | RSS feed

This release

0.1.7 This release

2 release files

0.1.6

2 release files

0.1.5

2 release files

0.1.4

2 release files

0.1.2

2 release files

0.1.1

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page