My $0.02 suggestion.
If emails are not very important I suggest you don't check emails, better stay away from email till afternoon. If you can reschedule meetings to afternoon then you should do that too. The will power meter would be high in the morning. You can devote that for doing your most important creative work. Emails and Meetings in the morning eats away your will power and you'll remain with less energy and will power by the time you start programming.
Do the most important work of the day in the morning. Ask this question when you wake up "What is the ONE Thing I should do today, such that by doing it, everything else becomes easier or unnecessary?"(from the book 'The ONE Thing'). When you ask this you will know what is most important task for the day. Get that done first thing in the morning. You will feel better.
Personally in the morning I do little meditation, list down my 5-6 most important tasks for the day and start doing them. During the work I can use Gmail, Facebook and other social media website for 15 minutes only and they are blocked automatically after that time. I use StayFocusd chrome extension.
Hope this helps :-) .