Contact form mailer extracted to class, updated to send mails to those saved in settings.