Mac Mail: Archive Message vs Trash using DELETE key Macro

@Tom and/or other gurus, the above correction I applied last night seemed fine on the surface, but it’s not working correctly. After 2+ hours of troubleshooting and trying to figure it out myself, I’m at a loss…again. The “archive” function of the macro works perfectly, the problem arises when I’m composing a new mail message or replying to a message. When hitting the DELETE key, the macro runs but delays sending the DELETE function for the ~1-5 seconds. It’s occasionally immediate but not often.

I again inserted an audible sound alert to go along with the DELETE function in the “otherwise execute the following actions” section. The audible ding rapidly repeats itself until the DELETE function is actually executed. It’s as if the macro is in some type of loop but I’m not sure why or how.

I tried multiple other settings both in and out of the macro, restarting from scratch…all with the same result.

Thanks in advance for any help–I can only assume that I am not the only one needing this function to work correctly with Gmail in OS Sierra Mail.