ManiSub37539 / TodoApp-FlutterFlow

0 stars 0 forks source link

US6 Send Welcome Email #19

Open ManiSub37539 opened 4 hours ago

ManiSub37539 commented 2 hours ago

AS A new user, I WANT TO receive a welcome email after creating an account, TO confirm my registration on the Todo app, SO THAT I feel reassured that my account creation was successful and can begin using the app with the provided details.

SCENARIO: Successful Welcome Email Delivery GIVEN the user has successfully created an account, WHEN the account is created, AND the SendGrid cloud function is triggered, THEN the user should receive a welcome email WITHIN 1 minute, AND the email should contain a confirmation of their registration and a welcome message.

SCENARIO: Failed Email Delivery GIVEN the user has successfully created an account, WHEN the SendGrid cloud function encounters a failure, THEN the system should log the error and retry sending the email WITHIN 2 minutes, AND notify the user in-app if the email could not be sent after retries.

SCENARIO: Duplicate Email Prevention GIVEN the user attempts to create an account using the same email address, WHEN the system prevents duplicate account creation, THEN the system should not trigger the SendGrid cloud function for sending another welcome email WITHIN 1 second, AND notify the user that the email is already registered.