wasp icon indicating copy to clipboard operation
wasp copied to clipboard

[Email sender] Allow specifying provider specific options, like templateId for Sendgrid

Open Martinsos opened this issue 1 year ago • 10 comments

Right now, when defining an email sender, and when sending an email via it, we don't allow any provider-specific options. It would be useful to provide some, because for example, users using Sendgrid could use Sendgrid templates by providing templateId and dynamicTemplateData.

We would provide these in the emailSender's send method. I am not sure what is the best API for this, but we will figure that out!

Related Discord convo: https://discord.com/channels/686873244791210014/867713251479519232/1168305292098936932 .

Martinsos avatar Nov 02 '23 11:11 Martinsos

Another request for this:

According to the api of sendgrid you can schedule emails via the send_at header: https://docs.sendgrid.com/for-developers/sending-email/building-an-x-smtpapi-header#scheduling-your-send But this sadly does not seem to be possible using the wasp's emailSender api: https://wasp-lang.dev/docs/advanced/email#javascript-api. Is there a nice and clean workaround or is it planned to add more headers to the emailSender API?

Discord convo: https://discord.com/channels/686873244791210014/1179895919471247490/1179895919471247490 .

Martinsos avatar Dec 05 '23 10:12 Martinsos

One more request: https://discord.com/channels/686873244791210014/1218081183318016000/1218081183318016000 .

Martinsos avatar Mar 15 '24 15:03 Martinsos

One more request: https://discord.com/channels/686873244791210014/1232407359230574734/1232407359230574734 .

Martinsos avatar Apr 24 '24 10:04 Martinsos

Related to #2164

Martinsos avatar Jul 10 '24 13:07 Martinsos

Users is blocked by not being able to set the Mailgun to a EU specific host: https://ptb.discord.com/channels/686873244791210014/1274165849481019495/1274165849481019495

infomiho avatar Aug 19 '24 07:08 infomiho