refactored EmailConfirmationBehavior
refactored FileMailer