This diff adds a Postmark client and two functions: One to compose an e-mail object and another to send all the emails in batch
Depends on D8986
Differential D8987
[reports-service] Add functions to send e-mails bartek on Aug 28 2023, 11:05 PM. Authored by Tags None Referenced Files
Details This diff adds a Postmark client and two functions: One to compose an e-mail object and another to send all the emails in batch Depends on D8986 Test plan in child diff D898 where these functions are called
Diff Detail
Event TimelineComment Actions The license is ok, but the library doesn't have too many downloads and the repo has only 6 stars. It also isn't mentioned by Postmark as official https://postmarkapp.com/developer/integration/official-libraries or community https://postmarkapp.com/developer/integration/community-libraries library. Are there any alternatives? Have we considered sending HTTP requests directly? Comment Actions There's no official Rust library for Postmark. The service itself offers a REST API over which this library is a thin wrapper. We found it during 1:1 with @ashoat, I quickly looked at its source code and it looks alright. If you feel strongly, I can implement the API calls directly as a follow-up task, but this will introduce more maintenance overhead. |