Read email and use in workflow

Hi,
there is a way to read an email from imap connection and then use variables generated (subject, sender, receiver, body-) in workflow?
i.e. it’s normal in case management process email with mailscanner and update case…
thanks for support