Fill "date" field of the envelope automatically