When I want to do $x$ I find it helpful to tell someone I look up to "I'm going to do $x$ by time $t$". Commiting to someone else is extremely motivating. If you care about my opinion of you then you can use this as a hack to accomplish your goals.
I dislike like getting emails of the form "I will do $x$". It you want to commit to something then instead of emailing me, fill out this form.
By filling out the form, you commit to filling out progress forms every two weeks until you succeed or fail.