initial commit - email cleanup
remove unneeded bugfix for mis-cast variable