Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

Copy link
Contributor

Copilot AI commented Nov 1, 2025

Daily check-in reminder emails lacked context about which organization they were for and when reminders were scheduled. Users had no way to manage settings from the email.

Changes

Email Content Enhancement

  • Display organization name in highlighted box for users with team assignments
  • Show reminder time in user's local timezone (e.g., "09:00 AM (America/New_York)")
  • Add direct link to /reminder-settings/ in email footer
  • Personalize greeting with username

Email Delivery

  • Switch from batch BCC to individual emails for personalization
  • Add throttling: 0.1-0.3s between sends, 1-2s every 10 emails
  • Maintain both plain text and HTML versions using EmailMultiAlternatives

UI Enhancement

  • Add "Send Test Reminder" button to settings page for preview

Implementation

Email generation now includes context:

# Get organization from user's profile
org_name = ""
if profile and profile.team:
    org_name = profile.team.name

# Format time in user's timezone
reminder_time_str = reminder_settings.reminder_time.strftime("%I:%M %p")
timezone_str = reminder_settings.timezone

# Individual personalized email
email = EmailMultiAlternatives(
    subject="Daily Check-in Reminder",
    body=f"Hello {user.username},\n\nReminder for {org_name}...",
    from_email=settings.DEFAULT_FROM_EMAIL,
    to=[user.email],
)

No database migrations required—uses existing UserProfile.team relationship.

Original prompt

allow for users to manage reminders on their daily checkins - add a link to the email that goes to this setting also show more information in the email like what organization its setup for and the time they are to be reminded


💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.

@coderabbitai
Copy link
Contributor

coderabbitai bot commented Nov 1, 2025

Important

Review skipped

Bot user detected.

To trigger a single review, invoke the @coderabbitai review command.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.


Comment @coderabbitai help to get the list of available commands and usage tips.

Copilot AI changed the title [WIP] Add user reminder management to daily check-ins Add organization and reminder time to daily check-in emails with settings link Nov 1, 2025
Copilot AI requested a review from DonnieBLT November 1, 2025 15:28
@DonnieBLT DonnieBLT marked this pull request as ready for review November 1, 2025 19:46
@DonnieBLT DonnieBLT merged commit add521a into main Nov 2, 2025
16 of 18 checks passed
@DonnieBLT DonnieBLT deleted the copilot/manage-reminders-in-checkins branch November 2, 2025 16:09
@github-project-automation github-project-automation bot moved this from Backlog to Done in 📌 OWASP BLT Project Board Nov 2, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

2 participants