Inserting blank SMTP fields.
Catching exception

Adding a callback for the 'uncaughtException' on the process. Made it throw an error and print the stack.
Basic method selection and usage

Constructs the path for the method.js file by using the method name passed in the RabbitMQ request. This is a security/stability issue and should be fixed. Perhaps with an array of approved method files.
Added an info array to the file.

This will be used to attach metadata to each method. Such as the required arguments and the nature of the method. e.g. instant like a push notification or a log message. Will be extendable and future proof... hopefully.
Basic email sending and account setup

Using the default settings framework for Gmail. Loads the username and password from the configuration file. Needs to be tidied.