added email control