functionality for generating cover pdf is added and will be merged with template and also email functionality is added
