Using Mail library when parsing mail header.