Automated Emails Tied to Deadlines

Is there any way to create automated email reminders for a task based on the deadline? For example:

  • 1 month out
  • 1 week out
  • 2 days out
  • etc.

Thanks!