calcom / cal.com

Scheduling infrastructure for absolutely everyone.
https://cal.com
Other
32.54k stars 8.06k forks source link

Email Reminder Sent for Cancelled Meeting #17785

Open cmcdoniel opened 2 days ago

cmcdoniel commented 2 days ago

Found a bug? Please fill out the sections below. 👍

Issue Summary

I booked multiple appointments while testing my API v2 PHP code. I cancelled all of the appointments using the API. i got cancellation emails, and the appointments show as cancelled on my dashboard. However, I got emails for every appointment an hour before the original scheduled time reminding me of the appointment. To clarify the reminder emails were all sent to the guest/attendee rather than to the organizer.

Steps to Reproduce

  1. Made appt on cal.com website
  2. Appt cancelled via API v2
  3. Email reminder received by attendee an hour prior to cancelled appt as if it was not cancelled

Expected Results

Email reminder should not be sent for a cancelled appt.

Technical details

Evidence

Past Bookings

Screenshot 2024-11-21 at 9 31 06 AM

Upcoming Bookings

Screenshot 2024-11-21 at 9 19 11 AM

Email Reminder Received

Screenshot 2024-11-21 at 9 18 46 AM
Shikharishere commented 6 hours ago

I was able to reproduce this one. I think there should be some kind of verifying logic before sending emails for a booking/appointment. What do you suggest?