Active Job - How to cancel a scheduled Action Mailer job?
<p>I am using Delayed Job as my queuing backend for Active Job. I have not set up any custom jobs and plan on using Action Mailer to <a href="http://edgeguides.rubyonrails.org/active_job_basics.html#action-mailer" rel="noreferrer">send out scheduled emails</a> asynchronously. How can I prevent a scheduled email from being sent out?</p>

<p>For example, suppose the user can set up email reminders on my application. If the user sets up a reminder for three days in the future, a job will be created. If the user removes that email reminder, the job should be deleted.</p>

<p>Any help would be greatly appreciated!</p>