all attachments have to have a name; if they don't, they're probably not attachments
get rid of unnecessary if/else
Merge pull request #4 from bepetersn/attachments-have-names

Ensure attachments have names
Up version
make a decode_email_header method to encapsulate encoding, passing to email.header.decode_header, then decoding
move encoding/decoding stuff to a subdirectory
revert docstring change
having a filename alone indicates that a message part is an attachment
Merge pull request #12 from bepetersn/attachments-are-filenames

Attachments are filenames
Merge pull request #7 from bepetersn/header-codec'ing

Make sure strings are encoded before sending to 'email.header.decode_header'
reverting all unnecessary unicode-related changes; they were merged accidentally