we do have a email hosted in shared server where we can't create email accounts via API so I was Googling a solution but didn't find.

Want it so that emails are sent and received somewhere where there's maybe not that much space but the webmail client (Rainloop currently but maybe something else can be used) will be in our server where we have 8TB hard drive and all emails stored there.

  • so you wanna a mail server with a web-client which stores emails on your LAN-server? What prevents you from setup it on your server and expose it to internet? O365, for example has API for creating users, and it O365 supports hybrid environments. Good ol' Exchange is also an option with its cmdlet for creating mailboxed
    – Suncatcher
    Commented Nov 20, 2020 at 14:48
  • Yeah O365 cost £3 per user per month. Would like a solution that will cost per GB so we will keep big data amounts in our own server. Commented Feb 3, 2021 at 15:25

1 Answer 1


We use ForwardEmail.net for that. The free plan gives you unlimited domains and email forwarders but $3/month plan gives you also the API access and faster email delivery. There are of course more providers available but this one is the best value.

Another free option is NameCheap.com - all you need to do is to move your domain from your previous registrar to there. It is easy but just takes 5-7 days to move by them and then you need to point your name servers if you wish to manage your DNS somewhere else their advanced DNS manager is also very good so you can use them also for that. Their API is super simple and well documented and as you can see from the domains.dns.setEmailForwarding part of the API documentation you just get your ApiKey from your dashboard, add it to the URL with the domain name, email, and where to forward. Then you just GET call the URL.

  • Your answer could be improved with additional supporting information. Please edit to add further details, such as citations or documentation, so that others can confirm that your answer is correct. You can find more information on how to write good answers in the help center.
    – Community Bot
    Commented Sep 26, 2022 at 11:02

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.