class Mail::Message

def is_marked_for_delete?

server after each block yields back to #find or #find_and_delete.
However, if this method returns true, it *will be* marked on the
the message hasn't yet been marked for delete on the mail server.
Side-note: Just to be clear, this method will return true even if

calling #find with :delete_after_find set to true.
exits), but only if also using the #find_and_delete method, or by
If so, the message will be deleted at session close (i.e. after #find
Returns whether message will be marked for deletion.
def is_marked_for_delete?
  return @mark_for_delete
end