title: G-suite email settings not worked while sending email in rails
body: <p>I used G-suite email setting for sending emails from Rails application. This is my client G-suite email. Generally I used my gmail settings and it's work but G-suite email settings not work. Below code:</p>
  
  <pre><code>config.action_mailer.smtp_settings = {
     :address              =&gt; "smtp-relay.gmail.com",
     :port                 =&gt; 587,
     :user_name            =&gt; "info@XXXX.com",
     :password             =&gt; "XXXXXX",
     :authentication       =&gt; "plain",
     :domain               =&gt; "gmail.com",
     :enable_starttls_auto =&gt; true
    }
  </code></pre>
  
  <p>I used <code>address: "smtp.gmail.com"</code> as well but not working.</p>
  
  <p>I got <code>error: SMTP: authentication failed</code> and sometimes nothing but not received email.</p>
  
  <p>Anyone have idea or same experience solutions.</p>
  
  <p>Thanks</p>