I was wondering if anyone would have an idea how I could accomplish this:
Currently we send our clients reports as an attachment in our emails.
Each report starts with a designated 3 letter code for said client.
Unfortunately, occasionally, reports get sent to an unintended client which is very bad for our reputation and clients.

So my desire would be when an attachment is created have a zimlet read the first 3 characters of the attachment, read through a (possibly contact groups with the 3 letters) then add the group to the 'TO' Field.

Just my "at first glance" idea if anyone has a better idea or suggestion I would gladly consider them.

I have never made a zimlet and do not have a clue how to.