Task #154: Added new function - send email when user used flag for event