nigig-org/crates/apps/nigig-email
andodeki 383533da36 feat(email): email the trip report to the finance department
build_report_email (pure, tested) attaches the report PDF as
application/pdf in a multipart message to a comma-separated finance
recipient list. spawn_email_trip_report fetches the inbox, extracts trip
receipts, builds the report, and emails it via the signed-in SMTP account;
the proxy backend reports 'attachments unsupported' honestly rather than
failing silently. The Finance card gains a recipients field and an
'Email report to finance' button.

An end-to-end test sends the attached PDF through the SMTP sink and asserts
the recipient, application/pdf type and filename land in DATA. Domain tests
234 -> 237.
2026-08-18 10:07:54 +00:00
..
src feat(email): email the trip report to the finance department 2026-08-18 10:07:54 +00:00
Cargo.toml build(email): drop three unused dependencies, and gate the platform one 2026-08-16 18:35:39 +00:00
THREAT_MODEL.md docs(email): threat model, and mark Phase A complete (A6) 2026-08-16 19:22:40 +00:00