kentonv/sandstorm — pull request #14 by jparyani (2014-05-20 04:25:12+00:00)
Title: Add basic email support

This is an initial version adding support for email. This adds a simple smtp server (running on port 30025 for now) that translates incoming smtp messages to an EmailMessage defined in email.capnp. This message is then forwarded along to the grain that matches publicId with an email address of the form `publicId@hostname`. Until the powerbox side of sandstorm is implemented, this relies on a hacked session interface that adds the needed methods for sending/receiving emails.

I know this is a lot of commits/changes. If it's too much, feel free to let me know, and I'll try and squash commits and/or break it into multiple PRs.