Enable Email lockscreen widget
Potential NPE in Account.

Also, avoid calling close() if the cursor is already closed.
Signed-off-by: Sylvain Becuwe <sylvain.becuwe@gmail.com>

Change-Id: I5e077a03e437721b8fc7ffb9af284eaa405d901e
Fix SMTP RFC violation for better interoperability

Space after colon violates RFC 5321 (and RFC 821): "Since it has been a common
source of errors, it is worth noting that spaces are not permitted on either
side of the colon following FROM in the MAIL command or TO in the RCPT command"

Change-Id: Ie5330bf2bd01cd8f734134dadd742cf16df70d7a
Signed-off-by: Jack Bates <jack@nottheoilrig.com>
Fix a Cursor leak

When cursor is done, the cursor must be closed to avoid cursor leak.

Change-Id: I8d837dd50473c3b14806f54ca8a78de14178b0cb
avoid cursor leak in email provider

When cursor is done, the cursor must be closed to avoid cursor leak.

Change-Id: Iaaffed2c4e90dc4b17ae55fcedb242bf890b3dd5