nigig-org/crates/nigig-core
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
..
examples feat(email): trip-expense report PDF for the finance department 2026-08-17 12:08:19 +00:00
src feat(email): email the trip report to the finance department 2026-08-18 10:07:54 +00:00
tests test(sms): build a real test suite (Phase G) 2026-08-02 08:43:16 +00:00
Cargo.toml feat(email): trip-expense report PDF for the finance department 2026-08-17 12:08:19 +00:00