Generate email notification for End cycle

Hi 

This pull request implements the email notification for End cycle using is_current attribute.
Also merges the earlier pull request and resolve merge conflicts with develop branch.

Regards
Mouli