title: Error: Invalid login: 534-5.7.9 Application-specific password required. Learn more at
body: <p>Since google is removing less secure app mode, I'm changing the password settings for my app (which is written in flutter/Firebase) from the actual google password, to a password which I generate inside the setting of my google account to give full access. So I set the password like that</p>
  <pre><code>firebase functions:config:set gmail.email=email gmail.password=passwort
  </code></pre>
  <p>I checked everything twice with</p>
  <pre><code>firebase functions:config:get
  </code></pre>
  <p>and now wanna tried. But the problem that I have is that its always saying</p>
  <pre><code> Error: Invalid login: 534-5.7.9 Application-specific password required. Learn more at 
  
  </code></pre>
  <p>This is my  functions</p>
  <pre><code>import * as functions from &quot;firebase-functions&quot;;
  import nodemailer from &quot;nodemailer&quot;;
  
  const { email = &quot;&quot;, password = &quot;&quot; } = functions.config().gmail || {};
  
  const mailTransport = nodemailer.createTransport(
    `smtps://${email}:${password}@smtp.gmail.com`
  );
  
  
  const senEmail = async (email, subject, text) =&gt; {
    try {
    const mailOptions = {
      from: `&quot;-IMPORTANT&quot; &lt;${email}&gt;`,
      to: email,
      subject,
      text,
    };
  
    return mailTransport.sendMail(mailOptions);
  } catch (error) {
    console.log(&quot;error&quot;, error);
    res.status(501).send(`Fehler! `);
    return;
  }
  };
  
  export { senEmail };
  
  </code></pre>
  <p>I have to say I don't use google sign in for my app. Is this maybe a problem?</p>