diff --git a/packages/hoppscotch-backend/src/mailer/mailer.service.ts b/packages/hoppscotch-backend/src/mailer/mailer.service.ts index b6151422..f71d65fe 100644 --- a/packages/hoppscotch-backend/src/mailer/mailer.service.ts +++ b/packages/hoppscotch-backend/src/mailer/mailer.service.ts @@ -25,7 +25,7 @@ export class MailerService { ): string { switch (mailDesc.template) { case 'team-invitation': - return `${mailDesc.variables.invitee} invited you to join ${mailDesc.variables.invite_team_name} in Hoppscotch`; + return `A user has invited you to join a team workspace in Hoppscotch`; case 'user-invitation': return 'Sign in to Hoppscotch'; diff --git a/packages/hoppscotch-backend/src/mailer/templates/team-invitation.hbs b/packages/hoppscotch-backend/src/mailer/templates/team-invitation.hbs index 3618686e..32032b45 100644 --- a/packages/hoppscotch-backend/src/mailer/templates/team-invitation.hbs +++ b/packages/hoppscotch-backend/src/mailer/templates/team-invitation.hbs @@ -27,6 +27,12 @@ color: #3869D4; } + a.nohighlight { + color: inherit !important; + text-decoration: none !important; + cursor: default !important; + } + a img { border: none; } @@ -458,7 +464,7 @@
{{invitee}} with {{invite_team_name}} has invited you to use Hoppscotch to collaborate with them. Click the button below to set up your account and get started:
+{{invitee}} with {{invite_team_name}} has invited you to use Hoppscotch to collaborate with them. Click the button below to set up your account and get started: