Hello Sandro
Since revision 2856 it's possible to inject attachments when opening the compose step. See http://trac.roundcube.net/wiki/Plugin_Hooks#message_compose for a description of the according hook.
Find attached a sample plugin which will add the README file as attachment when calling /?_task=mail&_action=compose&_attach=true
I hope this is what you need for your CRM system.
Regards, Thomas
--- 8< --- detachments --- 8< --- The following attachments have been detached and are available for viewing. http://detached.gigo.com/rc/Ts/UQaYpHnC/compose_attach.php Only click these links if you trust the sender, as well as this message. --- 8< --- detachments --- 8< ---
List info: http://lists.roundcube.net/dev/