I tried to freeze your script running cx_Freeze directly and it worked perfectly fine. Since GUI2exe is only a graphical user interface, I would suggest you also try to run cx_Freeze directly as this eliminates any possible issues caused by GUI2exe.
Assuming you want to make a command line app, this is the setup.py file you need to create next to the file with the above code (in the the setup.py, I assume your code is called "smtpTest.py"):
import os, sys
from cx_Freeze import setup, Executable
# Dependencies are automatically detected, but it might need fine tuning.
build_exe_options = {'packages': [],
'excludes': ['tkinter'],
'includes': []}
setup( version = '0.1',
description = 'sends mails',
options = {'build_exe': build_exe_options},
executables = [Executable('smtpTest.py', targetName="smptMailer.exe")])
Then open a commandline and go to the directory where you have your file and the setup.py file stored and type:
python setup.py build
After the build process, your executable will be in a new folder called "build".