Skip to content

Update Admin emails #166

@peterchinh

Description

@peterchinh

Description
Make admin emails more descriptive for event posting / approval

Acceptance Criteria
A clear and concise description of what you want to happen.

Since we don't have access to the sendgrid acocunt, consider replacing the logic with Resend
Steps:

  • Modify api/sendgrid/orgRoute.ts to use Resend
  • In components/addEventPanel.tsx pass in to the email api (await fetch("/api/sendGrid/orgRoutes", {):
    Info from AddEventForm interface
  1. All the original info being passed in
  2. Date and time
  3. description
  4. Send out the new information in api/sendgrid/orgRoute.ts

Additional Information

  • Don't include location for now since we will be modifying it.

  • Description for emails is a nice-to-have, main focus is getting the emails out at an accurate time
    i.e. Nonprofit name, event name, event description, date/time posted

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions