Parse csv attachment in email with IMAP

I have this kind of use case where I have to parse email's attachment that have .csv format.
I saw that logstash offer IMAP input and I saw save_attachments and strip_attachments but how do I use it to do with my use case? I did not find much documentation about how to use it.
Questions:

  1. Is it possible to parse attachment in email? If yes, how? If no, is there any suggestion to do with my use case?
  2. What is the use and how to use configuration options above?
    Thank you

Thank you