Although the main USPS post office facilities where you get your mail delivered to are closed on Sundays the USPS sorting facilities are always open 24/7 including Sundays and even Holidays to keep the mail moving through the UPS to get to it's destination on time.
The mail through USPS is always being sorted and is traveling down the road or through the air all the time even when your regular post office is closed.