I have setup crontab
with whenever gem
to send emails at time. Cron just calls the rake task, which gather all emails and sends them in loop. My question is do I need some queue system that provide me assurance that code won't crash ? I mean when I gather 1000 emails and I will be sending them in loop is it consider bad practice ?
As I can see i can catch errors but not all(maybe... ?). In mailgun doc https://documentation.mailgun.com/en/latest/best_practices.html#bounce-and-esp-feedback-handling
I would have to fetch bounces bye their api and resend mail if I want... So much painful approach. Don't get me wrong I still appraciate mailgun as a service.