add logs to check email action