Send emails via macOS Mail.app — compose, draft, send with AppleScript
Project description
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
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
llm_email-0.1.7.tar.gz
(8.3 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
llm_email-0.1.7-py3-none-any.whl
(11.3 kB
view details)
File details
Details for the file llm_email-0.1.7.tar.gz.
File metadata
- Download URL: llm_email-0.1.7.tar.gz
- Upload date:
- Size: 8.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.10.18
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7759843c68dd010e2cfeb5d51d7ab0197878efdbb2e51c40a99cf2778675f5e2
|
|
| MD5 |
44061f58b5d2545b6adb4995c692fbc8
|
|
| BLAKE2b-256 |
1ccbde6b5ad5cf9e7940cfab03be5d896880ec6c44d3610b17425f492d330bc9
|
File details
Details for the file llm_email-0.1.7-py3-none-any.whl.
File metadata
- Download URL: llm_email-0.1.7-py3-none-any.whl
- Upload date:
- Size: 11.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.10.18
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6eb600e2157653fef6e0b3848284037a50f64825bb0cb3f24ed1b2697ddef340
|
|
| MD5 |
d6d1e9f26ce5baac84d43c09eb5e4a73
|
|
| BLAKE2b-256 |
2e2e61f3947604c86e5e4d7956041fedee46939eaff78dd5f7cb50a9a535c373
|