importing and date stuff. Sends emails aw yeah