Skip to content

Latest commit

 

History

History
42 lines (31 loc) · 2 KB

EMAIL.md

File metadata and controls

42 lines (31 loc) · 2 KB

E-mail Setup

Our domain is managed and hosted by Cloudflare. We use their email redirection feature, which allows us to forward emails sent to our domains to other email addresses. Unfortunately, Cloudflare does not support forwarding to a group of emails, but they do support using something they call an Email Worker. This is essentially a serverless function, similar to AWS Lambda or Google Cloud Functions.

Adding emails to the administrative account

Pulumiverse has an administrative email that is used to access different systems. To manage which emails we forward to you can access the workers under email routing settings.

You will need to edit the source code of the worker, which should look something like this:

export default {
  async email(message, env, ctx) {
    const boardEmails = [
      "[email protected]",
      "[email protected]",
      "[email protected]"
    ];
    
    for(const email of boardEmails){
      await message.forward(email);
    }
  }
}

You can access the code editor directly and edit the code directly, including deploying when you are done.

Important: All the emails that are added to the boardEmails array need to be added to Destination address. This means you need to make sure to add all the email addresses to Destination Addresses for our admin account