Added e-mail functionality, updated docs