Added email support on MacOS