applescript for "Send & File" mac mails

Hello everybody,
does anyone have (or knows how to make) an applescript to run as a mail rule so that when sending an email you will be prompted to tell which folder to file that specific email? I am looking for some script performing a sort or “Send & File” option found on certain mail clients like IBM Notes.
I am running El Capitan 10.11.6 with the latest Mail app.
I would be very thankful if someone could send me such a script.
Regards
Nick

Browser: Safari 537.36
Operating System: Mac OS X (10.10)

===========================================
I actually found some script that does something similar: it moves the sent files in the same folder of the replied mail.
here is the script
on run {input, parameters}

tell application “Mail”
try
(* Get selected messages or exit )
set messageSelection to selection
set selectedMessage to item 1 of messageSelection
set replyMessage to reply selectedMessage opening window yes
set messageID to message id of selectedMessage
set currentMailbox to mailbox of selectedMessage
on error
return
end try
repeat
(
Wait until reply message is sent )
delay 2
try
if replyMessage is not visible then exit repeat
on error
exit repeat
end try
end repeat
synchronize with (account of currentMailbox)
(
Wait while reply message is being sent )
delay 10
(
Loop over all sent messages *)
set sentMailbox to sent mailbox of application “Mail”
set allSentMessages to messages of sentMailbox
repeat with sentMessage in allSentMessages
if source of sentMessage contains messageID then
set mailbox of sentMessage to currentMailbox
return
end if
end repeat
end tell

return input
end run

But I need to decide which folder the sent mail must be moved to.

How do I do this?