Send an email to owner upon closing the event

* extract vote related code into a module

https://trello.com/c/VDGLfOsQ