For some inexplicable reasons I have to move the javax.mail package one spot up to avoid its classes being shadowed by those provided in the appengine package...