added functionality for email list and sms list