Skip to content

Feature Request: Save Email Subject and Content to Firebase #22

@muzammildafedar

Description

@muzammildafedar

Description:

We would like to request a feature that allows users to save the email subject and content to Firebase when they click the "Save for Future" button. This feature should also support editing existing entries. The implementation should involve the following:

Requirements:

  1. Store Email Data:

    • When the user clicks the "Save for Future" button, the app should save the following information in Firebase:
      • Email address (from Firebase Auth of the logged-in user) - Use this as docID
      • Email subject
      • Email content
  2. Editing Existing Entries:

    • If the user edits the email subject or content, the app should update the existing entry in Firebase instead of creating a new one. The update should be based on the unique identifier (e.g., a combination of the user’s email and a timestamp or a generated ID).
  3. Prefill Data:

    • When the user revisits the relevant section of the app, if there is existing data in Firebase for the logged-in user, the email subject and content should be prefilled in the respective input fields.
    • If no data exists for the user, the fields should remain empty.

Acceptance Criteria:

  • Email subject and content are successfully saved to Firebase upon clicking "Save for Future."
  • If edited, the existing entry in Firebase is updated rather than creating a new one.
  • The logged-in user's email address is used as a reference key for storing and retrieving data.
  • When revisiting the section, existing data is prefilled in the input fields if available.
  • Appropriate error handling is implemented if the save or update operation fails.

Additional Information:

This feature will help users quickly access previously saved email subjects and content, improving usability and efficiency.

Metadata

Metadata

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions