```ruby
ActionMailer::Base.smtp_settings = {
    address: "smtp.gmail.com",
    port: 587,
    domain: "gmail.com",
    user_name: "bugtrackerapplication",
    password: ENV["EMAIL_PASSWORD"],
    authentication: "plain",
    enable_starttls_auto: true
}```

Fix mail not sending properly in production
user
```ruby
ActionMailer::Base.smtp_settings = {
  address: "smtp.gmail.com",
  port: 587,
  domain: "gmail.com",
  user_name: ENV["EMAIL_USERNAME"],
  password: ENV["EMAIL_PASSWORD"],
  authentication: :login
}```
assistant