The sys_email variable

You can use the global variable sys_email with inbound email actions.

This lets you access the received sys_email record that triggered the inbound email action. It can be used to reference fields on the email record, such as uid, sys_id, content_type, and so on.