send mail when type of problem occurs to cc and admin + template for the mail