add HOST env
use HOST env for mailer host
use correct url for mailer
move search url to JS var
don't need to precompile
test
Fix the invitation process to add an invitee to the post
Rebase on staging and origin master