email logic added