Docker compose email not working

Hi. I am setting up Ghost for the first time in my lab using docker compose. No matter what I configure I get the error “WARN Missing mail.from config, falling back to a generated email address. Please update your config file and set a valid from address”. Some of the things I have commented out are from scouring forums and reddit and anything i could find for hours. If anyone could help that…would be awesome.

  #email
  #mail_from: "'No Reply' <noreply@example.com>"
  mail_from: "noreply@example.com"
  mail_transport: SMTP
  mail_options_service: Google
  mail_options_host: smtp.gmail.com
  mail_options_port: 587
  #mail_options_secure: true
  #mail_options_requireTLS: true
  mail_options_auth_user: noreply@example.com
  mail_options_auth_pass: "secretstuff" 
  #admin url
  admin_url: https://admin.cexample.com
  #server
  server_host: x.x.x.x
  server_port: 2386
  #newEmailAddresses: enabled
  #managedEmail: disabled
  #mail_options_managedEmail: disabled

Try to configure like this, without quote.
However, no need to worry this warning, it won’t affect your Ghost performance.

The performance is fine. The issue that I have encountered is that I cannot invite staff. When I go to do so I get the same errors. I did make the change suggested and get the following errors. I am using an app password from gmail.

[2024-08-29 17:46:30] WARN Missing mail.from config, falling back to a generated email address. Please update your config file and set a valid from address

[2024-08-29 17:46:30] WARN Missing mail.from config, falling back to a generated email address. Please update your config file and set a valid from address

[2024-08-29 17:47:00] INFO “POST /ghost/api/admin/invites/” 200 30001ms

[2024-08-29 17:48:04] INFO Updating incoming recommendations on boot

[2024-08-29 17:48:30] WARN Error sending email: Failed to send email. Reason: Email has been temporarily rejected. Please check your email settings and resend the invitation.

I figured out the issue. For the mail configuration I was using a single _ instead of two of them. I am still having mail issues but its just regular old smtp configuration that I have, sadly, been dealing with for the majority of my work life. Thank you for your help @Raki