Add ability to send email configuration options into API methods
Update dev dependencies
Fix issue with email sending options
Fix codestyle in test/test.js module