Skip to content

Email ​

Email can be sent via AWS SES or by specifying your own SMTP options.

SES ​

First, specify the ses strategy in values.yaml:

yaml
email:
  strategy: ses

IAM Policy ​

The IAM user or role used for SES must have the following permissions:

json
{
  "Version": "2012-10-17",
  "Statement": [
    {
      "Effect": "Allow",
      "Action": ["ses:SendEmail", "ses:SendRawEmail"],
      "Resource": "*"
    }
  ]
}

Credentials ​

Then you'll need to specify your base64-encoded AWS credentials and add them to your secrets.yaml:

yaml
apiVersion: v1
data:
    AWS_ACCESS_KEY_ID: aGVsbG93b3JsZA==
    AWS_SECRET_ACCESS_KEY: aGVsbG93b3JsZA==
kind: Secret
metadata:
    name: fwinsights-secrets
type: Opaque

Note that if you're using other AWS integrations (for example Amazon S3 for file storage with reportStorage.strategy: s3) they will typically use the same AWS credentials in this secret.

SMTP ​

You can follow these instructions for using a Gmail account with SMTP.

values.yaml:

yaml
email:
  strategy: smtp
  smtpHost: smtp.gmail.com
  smtpUsername: you@gmail.com
  smtpPort: "465"

You'll need to put the password in your secrets.yaml:

yaml
apiVersion: v1
data:
    SMTP_PASSWORD: aGVsbG93b3JsZA==
kind: Secret
metadata:
    name: fwinsights-secrets
type: Opaque