You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
logger.info(`Start new sequence for user ${payload.email}`);
27
12
28
-
awaitwait.for({seconds: 5});
13
+
awaitwait.for({
14
+
minutes: 15,
15
+
});
29
16
30
17
constfirstEmailResult=awaitretry.onThrow(
31
18
async({ attempt })=>{
19
+
logger.info(`Sending first email to ${payload.email} - attempt ${attempt}`);
20
+
32
21
const{ data, error }=awaitresend.emails.send({
33
22
from: "Lewis Carhart <lewis@mail.trycomp.ai>",
23
+
replyTo: "Lewis Carhart <lewis@trycomp.ai>",
34
24
to: payload.email,
35
-
subject: "Welcome to Comp AI",
36
-
react: WelcomeEmail({name: payload.name}),
25
+
subject: "Comp AI",
26
+
text: `Hey,
27
+
28
+
Thanks for signing up to Comp AI! I just wanted to reach out to let you know you can reach out to me anytime by replying to this email, or by booking a call with me here: https://cal.com/team/compai/meet-us
29
+
30
+
p.s. if you want us to do SOC 2 for you, reply to this email and I can send you some details :)
We're excited to have you on board with Comp AI. I just wanted to reach out and say welcome!
106
-
<br/>
107
-
<br/>
108
-
If I can help with anything, you can reach me by replying to this email, or book a call with me here: <ahref="https://cal.com/team/compai/meet-us">https://cal.com/team/compai/meet-us</a>
109
-
<br/>
110
-
<br/>
111
-
p.s. if you're interested, we're currently offering a fast-track path for SOC 2 Type I and II - if you're interested, let me know and I'll send you an invite to Slack :)
0 commit comments