Filing using rename with pattern and the Tags attribute

I use tags systemwide, either using a Hazel rule to add tags based on folder name or Indev Mailtags 3 to tag emails. I have been looking for a way to bring together files in folders with associated emails.
I archive emails using Email Archiver Pro which archives emails as individual pdfs but also maintains the tag added by Mailtags. It is visible in the Tags folder if I switch on the column Tags and they are also searchable in Spotlight and Leap and Yep by Ironic.
My conditions are:
Kind is pdf
Tags is not blank
I am having a problem using the Tags attribute when renaming the file. There is no problem with the renaming string "email received" as added text, and 'name' and 'extension' as elements. The file is not renamed by the attribute Tags, whether I use Tags associated with this item or Tags set on a file by a user (Open Meta) but the other renaming elements are working and the file is moved to the correct. Is it the wrong type of tag for the attribute to work?
I archive emails using Email Archiver Pro which archives emails as individual pdfs but also maintains the tag added by Mailtags. It is visible in the Tags folder if I switch on the column Tags and they are also searchable in Spotlight and Leap and Yep by Ironic.
My conditions are:
Kind is pdf
Tags is not blank
I am having a problem using the Tags attribute when renaming the file. There is no problem with the renaming string "email received" as added text, and 'name' and 'extension' as elements. The file is not renamed by the attribute Tags, whether I use Tags associated with this item or Tags set on a file by a user (Open Meta) but the other renaming elements are working and the file is moved to the correct. Is it the wrong type of tag for the attribute to work?