Added encryption decryption for mail