calcom / cal.com

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

schema.org email markup not displayed with Apple Mail #15614

Open dreamflasher opened 1 week ago

dreamflasher commented 1 week ago

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

Issue Summary

Calendar invite emails from cal.com opened with Apple Mail lack the schema.org email markup UX at the top of the email with the calendar info (where/when/who) and the confirmation buttons (yes/maybe/no).

Steps to Reproduce

  1. schedule and event with cal.com
  2. open invite in GMail, observe that the markup is there
  3. open confirmation mail with Apple Mail
  4. email markup missing in Apple Mail

Any other relevant information. For example, why do you consider this a bug and what did you expect to happen instead?

When I create a google calendar invite from google calendar directly the email markup is correctly displayed in Apple Mail. So this is not an Apple Mail bug, somehow the created invites from GCal and cal.com differ.

Actual Results

Expected Results

Show the same email markup as when opening it with gmail: grafik

Evidence

Tested multiple times with different Apple devices and different Google calendars.

dosubot[bot] commented 1 week ago

Hey @dreamflasher, I'm here to help you with any bugs, questions, or contributions you have! Let's tackle this together.

The issue you're experiencing with schema.org email markup not displaying correctly in Apple Mail for calendar invites from cal.com is known. Unfortunately, there is no specific information available in the repository regarding compatibility issues or limitations with Apple Mail and schema.org markup.

To address this, you might want to compare the ICS file content generated by cal.com with that of Google Calendar, as differences in the ICS file could affect rendering in Apple Mail. Additionally, reviewing the OrganizerScheduledEmail class and the generateIcsString function in the cal.com codebase might provide insights into potential discrepancies [1].

For a more immediate workaround, consider ensuring that the ICS file and email headers are correctly formatted and compliant with Apple Mail's requirements. This might involve adjusting the MIME types or specific email headers to improve compatibility.

To continue talking to Dosu, mention @dosu.