Some better error response
Removed whitespace
On user order, send receipt email

Also renamed some $user variables to $user_id
Added actions to whitepage/domain settings

We’ll use these to send emails to admin and users
Mandril emails are functional