:) if only I could get around a bit in PHP.Anyways, some references to OwnCloud IMAP auth by mmccarn:https://forum.owncloud.org/viewtopic.php?f=31&t=27115Actually, a minimalistic auth plugin example might get me on my way:plugin.php is pretty straightforward, authentication.php not so much.If it was for only one function to do the password test and return the result,it could have the imap_open parameters hardcoded, and only user andpassword passed from auth page. But it can't be that simple.http://php.net/manual/en/function.imap-open.phpAs for plugin ideas I came up with another one: annotate attached PDF(s)with assigned ticket number just before sending it to storage_fs.http://php.net/manual/en/function.pdf-create-annotation.php