Be more careful looking for From header

Check the envelope more carefully, in case parts are missing. I
ran into this on several quite old messages that have been moved
between IMAP servers successfully a few times.
Merge pull request #21 from dhellmann/master

Be more careful looking for From header