This code looks pretty bad from a format perspective. I took a quick look and by deducing, it's the conditional MS statements in your footer, both of them combined. You may want to restrategize and recode both. I would recommend that you tidy it up first so that you know what you're dealing with.
If you take them both out, you will see that your unsub will be automatically appended <--- that's how you know the issue is in those 2 statements.
Thanks so much, Jim! I thought that's what was doing it. Believe me, I didn't code this lol. They're still trying to figure it out so for now they have changed it to a solid background just so we can get the email out on time.