Added logging to email actions to prevent sending the same email more than once