Brenda has another great example of how to use Code Tasks to automatically send an email on a specific date.
This example uses multiple Process Street features such as (custom notifications, run via email, automatically send email widget, and code tasks)