send email when adding new class