Remove unwanted whitespace
Send email when resetting password
Fix html template for invite email