$ folder ->last_labeled_message ( label )
folder
label
Returns the message number of the last message in the folder with the label label associated with it, or 0 if there is no such message number.
0
Copyright © 2001 O'Reilly & Associates. All rights reserved.