The second image that you shared only returns the name of the file and not the content of the binary file. You need to enter the Binary Property Value that is returned by the IMAP node. Looking at your screenshot, the Binary Property Value of your file is attachment_0. Hence, in the source field where you want to fetch the binary file, you have to enter attachement_0.
In n8n (in most of the cases), you can refer to the binary files by the Binary Property value, and not the name of the file.
Additionally to what @harshil1712 wrote would you probably also have to add a Merge-Node between nodes named “TheHive” and “Cortex”. That Merge-Node would have as input 1 the “TheHive” and as input 2 “IMAP EMail”. The “Mode” you would have to set is “Merge By Index”.
That is needed because the binary data will not be available anymore, as it will get “lost” after “TheHive1” node. With the Merge-Node you can merge it in again so that it is available to be used by the “Cortex” node.
This shouldn’t be the case. If the execution was successful, you should get some output. In the Settings tab of the node, can you enable the Always Output Data option? (Ideally, this is not required)
Sorry @harshil1712 , i noticed that sometimes analyzer does not run but it says work flow completed successfully.
This time i didn’t found nothing in Cortex.
And when i enable the Always Output Data it passes for another step but without any data.