now we can use smtp servers not on this machine to send mails
refactored invitation url