A contextually sensitive user interface for defining an e-mail message
handling rule is provided. The user interface includes one or more user
interface objects for specifying conditions for the rule and one or more
user interface objects for defining the actions to be performed if the
specified conditions are met. The conditions that are displayed within
the user interface for selection are chosen, at least in part, based upon
the context in which a request to create the e-mail handling rule is
received. The displayed conditions may be based, in part, upon the
contexts of reading an e-mail message, creating an e-mail message,
creating an alert subscription, or selecting a user name.