instance variable checks are a terrible way to determine if emails should be sent