mailutils: add get_datetime and decode_payload
utf7: fix type error