fixing email_activity check