Fixing email issues

* break out verify emails into a function
* add uid to delete email link
* use render shortcut