Hi,
You can select Variable in Input Parameter Mapping while configuring email end point. You can map a string from the email subject, body, header, or sender's email address. To do this, use one of the following keywords: %SUBJECT%, %BODY%, %HEADER%, or %SENDER%.
For example, if you use %SUBJECT%, the email subject content is used as the input parameter.
Thanks
Ankit