Skip to content

📧 Mail to New User Added to Team by Admin Using Nodemailer #32

@priymavani

Description

@priymavani

Mail to New User Added to Team by Admin Using Nodemailer 📧

Description

We need to implement an email notification system to welcome new users added to a team by an admin. This feature will use Nodemailer to send an email containing the user's full_name, team_code, email, and initial password. Additionally, the email should include a link to reset their password for security. This enhances onboarding by ensuring new team members receive essential details immediately.

Goals 🎯

  • Send a welcome email to new users when added by an admin.
  • Share user details: full_name, team_code, email, and password.
  • Provide a password reset link in the email on password Forget.
  • Integrate with the existing user schema and backend setup.
  • add reset password button to profile

User Schema

{
    team_code: { type: String, required: true },
    full_name: { type: String, required: true },
    title: { type: String, required: false },
    email: { type: String, required: true, unique: true },
    role: { type: String, required: true, enum: ['admin', 'member'] },
    password: { type: String, required: true }
}

Metadata

Metadata

Assignees

No one assigned

    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