Added some email related variables to configure.php.
Tested sendEmailAttachment() and sendEmail() and both are working as they should.