Moved Mail code to cloud