you'd have something like
/home/e-smith/files/users/tania/Maildir/cur/1454327151.3861.server:2,ST: moved to '/var/spool/clamav/quarantine/1454327151.3861.server:2,ST'
in your email
you need to use the mail content (lines with "moved to").. parse them, exchange source and destination and create a script that reverts the moving..
I guess you need to escape some chars too