email sender bugfix