How can I eliminate the empty space in my confirmation email?

How would I remove this empty space in the confirmation email:

My code: https://pastebin.com/s4tkG9wJ

Remove