title: How to get ics calendar invitation to automatically add to calendar
body: <p>I am generating .ics calendar invitation with the node package <code>ical-generator</code> and sending the attachment in an email via mandrill. </p>
  
  <p>The .ics calendar invite contains information for one event at a specific time and date. </p>
  
  <p>example generated file:</p>
  
  <pre><code>BEGIN:VCALENDAR
  VERSION:2.0
  PRODID:-//sebbo.net//ical-generator//EN
  METHOD:REQUEST
  NAME: xxxx Events
  X-WR-CALNAME: xxxxx
  BEGIN:VEVENT
  UID:5wzd@xxx.com
  SEQUENCE:0
  DTSTAMP:20180318T202459Z
  DTSTART:20180330T230000Z
  DTEND:20180330T230000Z
  SUMMARY:test
  LOCATION:test
  DESCRIPTION:test
  ORGANIZER;CN="info":mailto:info@xxxx.com
  END:VEVENT
  END:VCALENDAR
  </code></pre>
  
  <p>Right now, the user receives the calendar invitation as an attachment in the email and is able to add the event to their calendar if they open up the attachment and click on "add to calendar" (in outlook). </p>
  
  <p>What changes do I need to make so that the calendar invite is automatically parsed by the mail client and added to the user's calendar (similar functionality is found in email confirmation from sites like meetup and eventbrite).</p>
  
  <p>Not sure I have the context knowledge around how email clients, calendar systems or .ics files work to have a framework of how to approach this problem</p>
  
  <p>Any suggestions or pointers to resources is greatly appreciated! Thank you!</p>