We would like to to add sent emails automatically to certain folders. What solution would you suggest?
For example; a mail sent to a customer is also sent in bcc to a certain address. Upon receiving this bcc-address triggers a process that stores the mail and add the contents of this mail (body mail + attachments) into the corresponding smart folder. A specified range of characters in the topic line determines (e.g. 7 characters within brackets) the targeted folder (example mail header: To: firstname.lastname@example.org bcc: email@example.com Topic: Reaction on proposal BM1999B [BM1999B])
You can configure inbound SMTP server https://www.youtube.com/watch?v=p17GkHsLdmc (old video but will give you overview). You have to create folders and aliases (e.g. email addresses) to receive e-mails into these folders.