email list and template working