Disclaimer: This article is for informational purposes only and is not medical advice. Please consult with your health care professional with any medical or health related questions.
Caffeine has a whole heap of benefits – from keeping you awake during an afternoon slump to enhancing sports performance, even controlling ADHD!
The effects of caffeine on one’s mental state are an important area for scientists to explore because about 90 percent of the world’s adults take the stimulating substance. Some prefer coffee, some tea, others soda pop and a few more take it in energy drinks. Caffeine is also in chocolate, over-the-counter pain relievers and even caffeine mints, including Viter Energy Mints.
But the health and wellness communities have long debated the pros and cons of caffeine, with the latter touching on its effects on mental health. Some studies show that caffeine can help alleviate symptoms of depression, while others say it worsens the condition.
Scientists debate whether caffeine has a positive or negative effect on people suffering from depression, a disorder affecting 15 percent of people in high-income nations. 
Some scientists say caffeine helps alleviate symptoms, thanks to its positive effects that are so great it may actually help prevent suicide. There are numerous studies that have shown caffeine – specifically coffee - may prevent mild to moderate depression:
This means that caffeine, particularly in coffee, may lessen the likelihood of depression.
By the way, this same study also found that tea, with its lower caffeine content per cup, was less protective in preventing against depression, but still effective to some extent.
While there are no studies yet on how exactly coffee actually prevents depression, the researchers from Qingdao University Medical College put forward a couple of possible explanations.
Firstly, they speculated coffee may help prevent depression because it has chemical compounds that counteract depression.  Coffee combats depression through compounds that reduce inflammation in the nerve cells in depressed people’s brains. The compounds are caffeic acid, chlorogenic acid, and ferulic acid.
They suggested in the study:
“Along with caffeine’s natural antioxidant properties, coffee can act as an anti-inflammatory in affected parts of the brain. This may relieve some of the discomfort and distress caused by depression, which is related to inflammation.”
The other hypothesis is based on the psychostimulant nature of caffeine – it boosts motivation and helps you feel more awake.
Caffeine helps the brain create more dopamine, which activates the part that taps reward perception. This then allows you to make better decisions, feel more motivated, and generally be in a happy mood.
Based on a review conducted by A. Nehlig, having 75mg of caffeine (a cup of coffee) every 4 hours can lead to a “pattern of sustained improvement of mood over the day.” It can increase alertness and well-being, help concentration, improve mood and limit depression. 
For more information on this, read How does caffeine affect your mood?
Some research has found that copious amounts of coffee and caffeine can worsen one’s mental state. Coffee and/or caffeine taken in large amounts can result in headaches, anxiety, nausea, restlessness, increased blood pressure and palpitations.
Medical News Today says these symptoms are part of the fight or flight process. If the fight or flight symptoms occur too often from caffeine, inflammation and disease could result. 
Coffee consumption may result in a heightened risk of depression, some studies have shown. One study says taking caffeine might intensify depression and result in anxiety if the person has a mood disorder.
Further, caffeine’s effects are temporary, and depressed people could experience a crash in their mood when it wears off. “People who have depression are advised against consuming large amounts of caffeine,” Medical News Today concludes.
Mayo Clinic says that while there isn’t a clear link between caffeine consumption and depression, the idea may have been based on two things: 
Caffeine does more than just wake you up. It’s the most widely used stimulant/substance/drug (however way you want to call it) for getting that familiar jolt in the morning, the kick that you need to jumpstart the day.
Every day, millions of people all around the world consume caffeine to stay awake and ease fatigue. But there’s definitely more to it than just a fix.
While it usually gets a bad rap for its adverse effects like jitters and link to depression (usually from having too much of it too soon), moderate caffeine consumption can give you the best bang for the cup.
As we said in this Viter Energy blog  about the work-life balance, it's a good idea to simulate your commute to work. You don't have to drive in to work, so instead take a walk around the block just before your workday starts and just after it ends. Send yourself a psychological signal.
And if you can avoid it, do not work after your walk around the block. Don't check work email. Don't answer calls from co-workers unless you really need to talk to them (or they are friends you socialize with).
Clinical psychologist Kelcey Stratton of Michigan Health Blog  has some sound advice on finding the right time to work:
If you’re a morning person, try to schedule important work and meetings during the first half of the day. Others may peak with energy in the afternoon. Depending on the type of job you have, try to maximize on these levels as you can.
The first bit of advice is to get up from the computer, turn off your phone, and go get some exercise, do something recreational, prepare a meal, or something other than work, on the same schedule as you did when you worked at the brick-and-mortar office.
If you used to get off at 5 p.m., quit working at home at 5. You might need to check email or prepare a report later that night, but be sure to get away from all electronic communications and computing devices for a while.
Another big tip is to take your coffee breaks and lunch breaks on the same schedule, or at least be sure to take them at some point. Do not skip your favorite part of the day!