-
Notifications
You must be signed in to change notification settings - Fork 179
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Gergo/web 2124 set up email notifications for trial expiration #3703
base: main
Are you sure you want to change the base?
Gergo/web 2124 set up email notifications for trial expiration #3703
Conversation
…gergo/web-2124-set-up-email-notifications-for-trial-expiration
…gergo/web-2124-set-up-email-notifications-for-trial-expiration
plan: 'starter', | ||
status: 'trial' | ||
}) | ||
if (trialWorkspacesExpireIn14Days.length) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@alemagio I think we can remove the 14 days email for now. I initially wanted it but now I think it's a little too much to send it this long time before the trial ends. 3 days before and on the same day is enough for now.
Maybe we will send another type of email 14 days before just to check in with the user, but that can be a separate task. Additionally we'll also be adding more automated emails after the trial has expired to try and reactive the workspace. But also a separate task.
const url = new URL(`workspaces/${args.workspace.slug}`, getServerOrigin()).toString() | ||
return { | ||
mjml: buildMjmlBody(args), | ||
text: buildTextBody(), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What's up with this? It looks like buildTextBody()
above doesn't return anything.
No description provided.