- Use Yandex Cloud enviroment variables:
- AWS_ACCESS_KEY_ID - Yandex Cloud Service Account (SA) static access key
- AWS_SECRET_ACCESS_KEY - Yandex Cloud Service Account (SA) static access key secret
- FROM - your email address from Yandex Postbox verified domain
- LIST_ID - RFC2919 comliant list id
- UNSUBSCRIBE_LINK - Yandex Cloud Function link to unsubscribe
- UNSUBSCRIBE_MAIL - Yandex Cloud Email Trigger to unsubscribe
- Attach Object Storage to Cloud Function with bucket mount point (or change file paths/names inside this code)
- Use bulkemail.xlsx excel examble and blacklist.xlsx for restricted emails
Append usubcribed emails to blacklist.xlsx.
- Attach Object Storage to Cloud Function with bucket mount point (or change file paths/names inside this code) and disable read-only mode.
- Execute with URL params: email (appended email) and l (email list). I.e. https://functions.yandexcloud.net/d4sdxfer4243sdxfcvfr?email=a@example.com&l=demolist.example.com