I need to configure a IMAP4 capable (console-based) email client to - check and edit the name of an attachment ("contains umlauts?" -> change character รค to ae) - delete emails that don't fit certain requirements (not PDF, DOC,... not from domain xyz.com)
Whether the client can do everything by itself or can just trigger a script on incoming mail doesn't matter.
Anyone have an idea with mail client would be suitable for such a task?