add new UI and email func