Add the resource generator
Separate the tasks of sending routine email
Finish