Remove/Delete Outlook attachment / mail.attachment

guys i have i use case,

if the sequence save to attachment is error or send outlook attachment is error i was going to do a retry,

but here comes the problem , if attachment is already saved in outlook and then send outlook is error it will retry the sequence , resulting in duplicate of attachment

i want to know if there is a way to remove/clear the saved attachment on outlook before doing
add attachment again

thanks