separated plate generation & email sending logic and now temp plate layouts are always deleted
separated plate generation & email sending logic and now temp plate layouts are always deleted

dejesus2010/CEN3031Project,dejesus2010/CEN3031Project