<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/xhtml; charset=utf-8">
</head>
<body>
<div style="font-family:sans-serif"><div style="white-space:normal">
<p dir="auto">Hi Benny,</p>
<p dir="auto">Thanks for detailed answers. I've added some comments below.</p>
<p dir="auto">On 18 Oct 2017, at 19:03, Benny Kjær Nielsen wrote:</p>
<blockquote style="border-left:2px solid #777; color:#777; margin:0 0 5px; padding-left:5px">
<p dir="auto">Hi Giovanni,</p>
<p dir="auto">you already got some replies. I'll try to fill the gaps.</p>
<p dir="auto">On 17 Oct 2017, at 23:18, Giovanni Lanzani wrote:</p>
<blockquote style="border-left:2px solid #777; color:#999; margin:0 0 5px; padding-left:5px; border-left-color:#999">
<ul>
<li>the status</li>
</ul>
</blockquote>
<p dir="auto">What kind of status?</p>
</blockquote>
<p dir="auto">You don't do many meetings, do you? :) It's accepted, rejected, maybe</p>
<blockquote style="border-left:2px solid #777; color:#777; margin:0 0 5px; padding-left:5px">
<blockquote style="border-left:2px solid #777; color:#999; margin:0 0 5px; padding-left:5px; border-left-color:#999">
<ul>
<li>optionally a remark.</li>
</ul>
</blockquote>
<p dir="auto">Remark?</p>
</blockquote>
<p dir="auto">When replying to a meeting you can add a remark such as: "I'll be available only for the first part of the meeting". The remark and the status should come, either as env variables or via stdin, from Mailmate I guess. Is that even possible? Remark is not a priority (I guess).</p>
<blockquote style="border-left:2px solid #777; color:#777; margin:0 0 5px; padding-left:5px">
<blockquote style="border-left:2px solid #777; color:#999; margin:0 0 5px; padding-left:5px; border-left-color:#999">
<p dir="auto">You can all have a look <a href="https://stackoverflow.com/questions/4823574/sending-meeting-invitations-with-python" style="color:#999">here</a> for a minimal Python implementation.</p>
<p dir="auto">Replying is much easier though: you just need to change the content of one line of the invite (assuming no notes are added).</p>
</blockquote>
<p dir="auto">I'm going to try to ignore having to understand the details of the calendar format and what can be done with invites. I'll just note that hopefully MailMate can make this a bit simpler by taking care of constructing the MIME message.</p>
<p dir="auto">Maybe I should just let you know when the attachments features described above are available? :)</p>
<p dir="auto">Do you think they would be sufficient? Or do you need more detailed control of the construction of the MIME message?</p>
</blockquote>
<p dir="auto">I don't know :)</p>
<p dir="auto">Looking at the raw message of an invite, it looks like this. From Python I could just supply the base64 encoded content. If Mailmate would handle the rest: that'd be swell! :)</p>
<p dir="auto">Cheers,</p>
<p dir="auto">Giovanni</p>
<pre style="background-color:#F7F7F7; border-radius:5px 5px 5px 5px; margin-left:15px; margin-right:15px; max-width:90vw; overflow-x:auto; padding:5px" bgcolor="#F7F7F7"><code style="background-color:#F7F7F7; border-radius:3px; margin:0; padding:0" bgcolor="#F7F7F7">From: Giovanni Lanzani <x>
To: xx <x>
Subject: xx
Thread-Topic: xx
Thread-Index: AdNH4ORC21n0rFd3Tyyx4cw7nfpI8AAAWUXAAAA13KM=
Date: Wed, 18 Oct 2017 09:31:35 +0200
Message-ID:
<AM4PR07MB3220CD2A89F4713E378C2C6DCF4D0@AM4PR07MB3220.eurprd07.prod.outlook.com>
Content-Language: en-US
X-MS-Has-Attach:
X-MS-Exchange-Organization-SCL: -1
X-MS-TNEF-Correlator:
X-MS-Exchange-Organization-RecordReviewCfmType: 0
Content-Type: multipart/alternative;
boundary="_002_AM4PR07MB3220CD2A89F4713E378C2C6DCF4D0AM4PR07MB3220eurp_"
MIME-Version: 1.0
--_002_AM4PR07MB3220CD2A89F4713E378C2C6DCF4D0AM4PR07MB3220eurp_
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
--_002_AM4PR07MB3220CD2A89F4713E378C2C6DCF4D0AM4PR07MB3220eurp_
Content-Type: text/calendar; charset="utf-8"; method=REPLY
Content-Transfer-Encoding: base64
Here the the base64 encoded ics should be present
--_002_AM4PR07MB3220CD2A89F4713E378C2C6DCF4D0AM4PR07MB3220eurp_--
</code></pre>
</div>
</div>
</body>
</html>