llamanodes / web3-proxy

Fast loadbalancing and caching proxy for Ethereum or chains with similar JSON-RPC methods
https://llamanodes.com
GNU General Public License v3.0
153 stars 34 forks source link

LlamaNodes Premium | Email logic for notifying users their balance is low #163

Open LlamaMB opened 1 year ago

LlamaMB commented 1 year ago

LlamaNodes Premium | Finalise & Ship Email logic and full feature for notifying users their balance is low:

Prev Issues - https://github.com/llamanodes/web3-proxy/issues/122

Context: When a user’s Premium Balance is low, we want to email them with a remainder to top up - This is an opt-in feature.

Tech: We will capture the emails upon sign-up and then use SendGrid’s API to trigger and manage all the email notifications.

Steps:

Input: When a users signifies they want to receive email notification and input their email.

Collect email and verify it via verification email (to reduce spam issues) via PR https://github.com/llamanodes/web3-proxy/pull/119 and PR https://github.com/llamanodes/web3-proxy/issues/117 -Email collection is ask & completed in the account creation phase. -Email verification template (placeholder) can be found here: https://mc.sendgrid.com/design-library/your-designs/37bf6a74-924a-40db-9b32-fa7f4e39584d/preview

Output: When users balance is low | Less than $25.00 (?) -We have a built out email template (w/ graphics already completed).

Please let me know if you need any other information, thanks! @yenicelik @talking-llama