add edit and clone function for emailconfig