Is there a way to get the HTML code from the email I created?

Yes, you should open the HTML browser view and copy the source of it (press CTRL+U to view it or right-click anywhere on the screen  and press „View page source“):