Fix sendMailHandler handling with param res is undefined.
Fix sendMailHandler handling with param res is undefined.

schul-cloud/schulcloud-client,schul-cloud/schulcloud-client,schul-cloud/schulcloud-client