Email button populated based on api response