fixed email sending and using a wider browser window