changed cleartext form of mailattachment to encrypted with openssl to make the whole setup more secure.