Fixed mailer, added url integration for chat invites