#2 .. refactor individual email functions into sendEmailToActiveUsers