Adding a retry based email sending system

- Fixes #547
Merge pull request #664 from rackerlabs/gh-547-b

[WIP] Adding a retry based email sending system