Java email client with encryption/decryption function