Update EmailComposer.java

Code is wrong.  API has changed.  Code before wouldn't compile.