Rated 4 out of 5 stars

Thanks, it works. But not the way it should be.
When you have subfolders on INBOX your code uses the word INBOX as a subfolder name in the archive. So it only works when the folder is directly below the account name, like Trash, Sent, Inbox...

I know that you can't or won't iterate thru the subdirs but lets just use the folder name where the mail is in it which you want to archive.

The option %F doesn't work, only %f.
With %F I am getting the whole date string as directory name...

This review is for a previous version of the add-on (0.3.1).