=begin smtp_settings must include the following information: { user_name: username, password: password, domain: domain, address: address, port: port_number, authentication: :plain, enable_starttls_auto: true } =end require "mail_rotator" module MailRotator module Switcher SMTP_SETTINGS = { "SENDGRID" => { limit: 400, settings: sendgrid_smtp_settings }, "MANDRILL" => { limit: 1200, settings: mandrill_smtp_settings }, "GMAIL" => { limit: 100, settings: gmail_smtp_settings } } end end