LILY-191: added template choice in composing email
LILY-124: only template select if there are templates
LILY-191: add vars to template fix
LILY-192: added sent time to email details. relative time when sent < 2 days ago