How to Select a Different Email for the 'send_email_to_self' Action Step in a NextJS/Vercel Contact Form Tutorial on Pipedream?

This topic was automatically generated from Slack. You can find the original thread here.

Hey all! I’m new to Pipedream. I’m following this tutorial for a basic contact form on NextJS/Vercel.

For the email notification, I’m trying to send it to a different email for the workspace I created. I added another team member, how do I select their email as the target for the send_email_to_self action step?

Thanks! :pray:

It won’t work for that action, but you could use either the Gmail Send Email action or another email app like Sendgrid

Gotcha. Thats what I was thinking after doing a little digging, but wanted to be sure. Thanks for the feedback.

FYI to confirm, that action (as well as using the $.send.email() function in code directly), will send to the default email you’ve configured for your workspace, not your user email.

I’m curious if that is inline with your expectations or if you’d expect it to go to your own user email?

We have some iterations planned for that action (and the underlying function), to allow you to use it more generically and specify any recipient you’d like, and maybe an option to include all users in your workspace. But would love any feedback or requests you have!

Ah interesting, would that be the Notifications email within the Workspace settings?

Basically, my expectation was to be able to select the email that those notifications are sent to by the members that are within the workspace. Either send to one, or any number of workspace members based on role.

Noted, that makes total sense. That’d be my expectation as well! Tracking this here: Use the email action with workspace members · Issue #5570 · PipedreamHQ/pipedream · GitHub

Nice, will keep an eye out for it