the issue is that using a server side include will place the php code in the HTML body. It will still run, but the Universal Email code will need to double check that the session is started, and it will use the header function to redirect after sending the mail.
The php header() and session_start() functions cannot be used after there is any html output to the page.
the Universal Email code needs to be in the page before the html doctype tag to ensure that there is no html output on the page before the UE code gets run.
using the PHP Framework to include the page will separate the PHP code that comes before the doctype tag and the html code in the body tag and place the different code chunks on the page in the correct place to avoid this issue.