[fix bug 847462] Mail functionality for voting system.
Merge pull request #406 from glogiotatidis/mail

[fix bug 847462] Mail functionality for voting system.