Removed external dependency in Email method