diff --git a/app/models/account.rb b/app/models/account.rb index be081767c..c9b9befdb 100644 --- a/app/models/account.rb +++ b/app/models/account.rb @@ -111,7 +111,7 @@ class Account < ApplicationRecord end def support_email - super || GlobalConfig.get('MAILER_SUPPORT_EMAIL')['MAILER_SUPPORT_EMAIL'] || ENV.fetch('MAILER_SENDER_EMAIL', 'Chatwoot ') + super || ENV['MAILER_SENDER_EMAIL'] || GlobalConfig.get('MAILER_SUPPORT_EMAIL')['MAILER_SUPPORT_EMAIL'] end def usage_limits