Moved the gate app to src/main/resources and fixed an UTF-8 problem in saving of the mails.