script to start up and sync email