view the rest of the comments
Selfhosted
A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.
Rules:
-
Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.
-
No spam posting.
-
Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it's not obvious why your post topic revolves around selfhosting, please include details to make it clear.
-
Don't duplicate the full text of your blog or github here. Just post the link for folks to click.
-
Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).
-
No trolling.
Resources:
- selfh.st Newsletter and index of selfhosted software and apps
- awesome-selfhosted software
- awesome-sysadmin resources
- Self-Hosted Podcast from Jupiter Broadcasting
Any issues on the community? Report it using the report flag.
Questions? DM the mods!
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.
Edit: https://sh.itjust.works/post/3044652
Edit: based on that post, you probably want fastmail to selfhost. Now the official API of mail clients is jmap, so it may not be "rest" and you may not be able to find a "reliable" rest api
Edit final: check this out https://en.m.wikipedia.org/wiki/Comparison_of_mail_servers And I still don't know what ones have a rest api.
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: https://jmap.io/crash-course.html
So it seems that a simple server that implements JMAP would be what the OP is looking for, perhaps https://github.com/stalwartlabs/mail-server (which also supports SMTP/IMAP for compatibility with other clients)?
Was going to say the same thing.