[nemo-qml-plugin-email] Check if action is Null before comparing.

EmailAgent::getNext() can return a Null action if the queue of action
is empty.
Merge pull request #113 from nemomobile/NullAction

[nemo-qml-plugin-email] Check if action is Null before comparing.