All papers sent by mail in an envelope postmarked prior to midnight of the last day of filing shall be deemed timely filed and accepted for filing when received, except any documents that are required to be filed with the board of elections of the city of New York must be actually received by such city board of elections on or before midnight of the last day to file any such document.