Added e-mail script. Please test it.