Adding schelduler and final mail template