It isn't really far off? Basic BCI is here already - the kind which is 'think of nothing to move the cursor left, focus on something to move the cursor right', but that's mostly picking up electrical activity in brain regions. It's a million miles off picking up what you want and making it happen.
Impressive BCI has been done, e.g. William Dobelle's work on brain-linked-cameras for blind people, but that involves major surgery and, if I may say so without meaning any insult to his work, is still on the easy side - feeding signals into the visual cortex and let the brain learn what to do with them without needing to understand how the brain does so.
To interpret anything like "send an email to John Hancock" and other general instructions, but not non-instructions, lifted from your thoughts ...
http://en.wikipedia.org/wiki/Brain-computer_interface
http://en.wikipedia.org/wiki/Technological_singularity