Added automagic e-mail sending. See README in templates folder.