Added ability to email submission (fixes #48)