Added some mail debugging possibilities for admin.
First stab at user invites.