change class tw_3dm2 param $emailserver to default to 'localhost'