Centralize Postmark env variables to .env file
Postmark is already used pretty extensively throughout the app for email sending, however the environment variables for it are sprinkled all over the app.
We need to centralize all of those in to the main .env file and include them as part of setup.
We should be able to continue using it as the main email provider as they have a free plan (for up to 100 emails).
@tmyracle @sy425191 Can you guys clarify the difference in your solutions?
Sure, since NX already loads are env vars from the .env I added the required Postmark env vars to the .env.example which means you shouldn't have to go in the code to mess with anything. I also removed the POSTMARK_SMTP_PASS env since it was only being used by Auth0. Loading everything into an env config and using that same config references through the app is the current convention in the codebase (ex: server env config) so I followed that path.
I have added these required Postmark vars into .env.example
NX_POSTMARK_FROM_ADDRESS=
NX_POSTMARK_REPLY_TO_ADDRESS=
NX_POSTMARK_API_TOKEN=
and referenced them directly to root .env file wherever they are used in the codebase.
Closed with #59