Fix related to the e-mail encoding.
Fixed bugs related to the mail fetching.