fix: disable email transcript for free plans (#13509)

- Block email transcript functionality for accounts without a paid plan
to prevent SES abuse.
This commit is contained in:
Vishnu Narayanan
2026-02-11 21:21:36 +05:30
committed by GitHub
parent 7b512bd00e
commit 00ed074d72
5 changed files with 17 additions and 1 deletions

View File

@@ -75,6 +75,8 @@ class ActionService
end
def send_email_transcript(emails)
return unless @account.email_transcript_enabled?
emails = emails[0].gsub(/\s+/, '').split(',')
emails.each do |email|