An easily deployable SMTP server system for integrating with existing API using convenient hooks. Written in Go. Receive email at your project's email address and automatically initiate a JSON formatted POST request to your app's existing API.
Try me! Send an email to test@demo.dewmail.org and watch here.
Project Page Star on GitHub Download Source
Dewmail will receive emails on behalf of your domain and initiate a JSON encoded POST request to your API. Let's look at a specific example to cover some of the implementation details.
First, create the following MX records for your domain example.com
Type | Subdomain | Mailserver Host | Pref | TTL |
---|---|---|---|---|
MX | api | in1.dewmail.org. | 10 | 300 |
MX | api | in2.dewmail.org. | 20 | 300 |
You may then send an email from any client--for example, consider the following message.
Dewmail will receive and parse your email generating the following JSON request {"from":"client@example.org","to":"foo+bar@api.example.com","subject":"mail","body":"unsubscribe"} , which it will submit to http://api.example.com/foo/bar. Your API can then parse the message however you see fit.
Stephen is always looking for ways to pull expertise he has from other experiences and industries into our situations to make them better or more efficient.
Stephen delivered great results. Stephen and his company was highly responsive, took feedback and provided corrections in a very timely manner. His handwritten code was clear, logical and understandable. On a personal note, Stephen is friendly and inquisitive, and exactly the kind of self-motiviated individual who is a good fit.
Stephen is an incredibly dedicated worker, and has demonstrated over and over again his ability to get the job done, no matter the requirements. When I worked with Stephen I was amazed by the broad range of his skills.
Stephen took the initiative to develop a methodology that in the past was not possible.
He is exceptionally well prepared in a range of technical matters. He is very articulate and yet concise. He is detail oriented, motivated and a overall a very capable software engineer. It would be a pleasure to work with him anytime in future.