python2 support. use email.parser.BytesParser if available, and use parse insted of parsestr. add -f option to specify config file. use os.path.expanduser for' ~/.email2slack'. strip trailing blanks in the body.
python2 support.
use email.parser.BytesParser if available, and use parse insted of parsestr.
add -f option to specify config file.
use os.path.expanduser for' ~/.email2slack'.
strip trailing blanks in the body.

mikoim/email2slack