This is an interesting one. I have sleep apnea, the result of which is basically chronic sleep deprivation even though you spend lots of time in bed. I struggled with all sorts of depressive symptoms (depression, anxiety, panic attacks) for years before getting a diagnosis, and 90% of the symptoms vanished overnight after treatment.
"Sleep problems may increase risk for developing particular mental illnesses, as well as result from such disorders." - http://www.health.harvard.edu/newsletter_article/Sleep-and-m... (2009)