fragile but maybe working email code