Formatted controller and fixed email sending
Merge pull request #105 from findsorguk/errorControllerEmailSend

Formatted controller and fixed email sending fixes #105