fixed bug when sending email to assigned tutor and provider has more than one switcher