diff --git a/app/controllers/email_events_controller.rb b/app/controllers/email_events_controller.rb index d76fc80b..de3d4ecf 100644 --- a/app/controllers/email_events_controller.rb +++ b/app/controllers/email_events_controller.rb @@ -32,7 +32,7 @@ def mailgun_params def process_bounce @user.increment(:emails_bounced) - @user.frequency = [] if @user.is_free? + @user.frequency = [] if @user.is_free? || @user.emails_bounced > 20 @user.save end