Add check to see if send_email method is being called