testing implemented with rebel
encrypt emails in database