I occassionally do this thing where I go to bed early, then wake up at 2 am and work until about 4 am. I find that I’m more productive after some sleep. Thankfully, I’ve learned to schedule my emails for delivery at normal times, so people don’t think that I’m insane.