removed unnecessary variables in IMAPMail
split encryptPGP method in 3 seperate methods
fixed transfer-encoding bug