Ben Jolitz d21c387eb6 Support optional Source, parse from header
The Email ``from`` header is either formatted as ``name <address>`` or ``address``.

This commit will use `parseaddr` to extract a ``(name, address)`` tuple, which we will use the ``address`` to check if it's verified.

Also support the case where ``Source`` is omitted (which AWS requires the ``from`` header to be set).
2018-05-04 18:58:52 -07:00
..
2018-04-13 10:37:06 -04:00
2017-10-22 21:36:39 +01:00
2018-04-04 00:28:39 -07:00
2017-05-10 21:58:42 -04:00
2017-02-23 21:37:43 -05:00
2018-04-15 17:08:54 -04:00
2017-10-28 20:17:34 +01:00
2017-09-27 09:54:46 +01:00
2017-06-20 11:58:18 -07:00
2017-02-23 21:37:43 -05:00
2017-10-16 17:06:22 -07:00
2017-02-15 22:35:45 -05:00
2017-02-23 21:37:43 -05:00
2017-02-23 21:37:43 -05:00