email improvements, tracking of inv status