E-mails sent to invitees and admins don't contain a Message-ID.
This breaks threading and CRM apps which key off of Message-ID to refer to e-mails.
The mail function needs to add Message-ID in the additional headers.
Note that I remove Sendmail and use ssmtp on my VOIP servers. The ssmtp installs talk to my SMTP server (on a different machine) via a specific user on that machine. This issue may not be a problem on machines which have a MTA installed as the MTA is supposed to generate the MID if it doesn't exist.