Apple Script Mail >Filename

Hello I am trying to write an apple script in which the filename is sent in a mail. (Text) Where do I have to insert these scripts into my existing one? Thanks for helping Daniel
et subject_ to "Receipt (Automated)"
set the_content to "mail Text"
set email_from to "ADRESSE"
set email_to to "ADRESSE"
tell application "Mail"
set newMessage to make new outgoing message with properties {visible:true, subject:subject_, content:the_content}
tell newMessage
set visible to false
set sender to email_from
make new to recipient at end of to recipients with properties {address:email_to}
try
make new attachment with properties {file name:theFilename} at after the last paragraph
on error errmess -- oops
log errmess -- log the error
end try
delay 1
(* change save to send to send*)
send --<<<<---------------- change save to send to send or send to save to save to drafts
(* change save to send to send*)
end tell
end tell
et subject_ to "Receipt (Automated)"
set the_content to "mail Text"
set email_from to "ADRESSE"
set email_to to "ADRESSE"
tell application "Mail"
set newMessage to make new outgoing message with properties {visible:true, subject:subject_, content:the_content}
tell newMessage
set visible to false
set sender to email_from
make new to recipient at end of to recipients with properties {address:email_to}
try
make new attachment with properties {file name:theFilename} at after the last paragraph
on error errmess -- oops
log errmess -- log the error
end try
delay 1
(* change save to send to send*)
send --<<<<---------------- change save to send to send or send to save to save to drafts
(* change save to send to send*)
end tell
end tell