Closed redlumxn closed 10 months ago
Definitely an oversight on our part, this should be configurable as well.
We are also trying to use interval, but are experiencing the same problem.
+1, looks like this is fixed in the main branch with #6 but it hasn't been published to npm
In order to create Organization
API Keys
the account email needs to be confirmed. As per the documentation, a Postmark API key is required in order to send the emails. However, after creating a Postmark account and setting the key to thePOSTMARK_API_KEY
env var, I get the below error.Obviously this is a limitation on Postmark, but even when if the account is approved, I don't think emails should come from an interval.com address. It would be better to pass this as another env variable. I'm happy to submit a PR but wanted to check if there is anything else that needs to be taken into account.
This seems to be the line in question setting the from address:
https://github.com/interval/server/blob/0369bde42c7d2488234fd2f113b50817ae1d56bc/src/emails/sender.ts#L92