adding proper url coding on invite mailer