added mail and encypte