change mail queue functionality to pass in user id instead of an actual user object