Moved email configuration from application.rb
Now sending invite emails.
Updated Rails gem due to SQL injection vulnerability.