Added email pull support