[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.