Self-hosted email rest API

https://jlai.lu/post/426372

Self-hosted email rest API - jlai.lu

I have an e-commerce website that needs to send emails to my clients to confirm shipping… Do you have any free software to advise to send emails with a rest API? Thanks

A lot of “degoogling” talk has discussed how to degoogled email in a graceful way (Gmail has huge market share). Let me find that community.

I think JMAP (the IMAP successor) is the best choice here. It was designed to be an open alternative to the proprietary APIs offered by Gmail and the like. It offers a JSON API that clients can talk to using HTTP. The JMAP website has some examples: jmap.io/crash-course.html

So it seems that a simple server that implements JMAP would be what the OP is looking for, perhaps github.com/stalwartlabs/mail-server (which also supports SMTP/IMAP for compatibility with other clients)?

JMAP Crash Course