+ModestTnyFolderRules modest_tny_folder_get_rules (TnyFolder *folder);
+
+
+/**
+ * modest_tny_folder_get_help_id:
+ * @folder: a valid tnymail folder
+ *
+ * get the help_id for this folder
+ *
+ * Returns: get the help_id for this folder, or NULL in case of error
+ */
+const gchar* modest_tny_folder_get_help_id (TnyFolder *folder);
+
+
+/**
+ * modest_tny_folder_is_outbox_for_account:
+ * @folder: a valid tnymail folder
+ *
+ * Discover whether this folder is the per-account outbox for the specified
+ * account.
+ *
+ * Returns: TRUE if this folder is the per-account outbox for the account.
+ */
+gboolean modest_tny_folder_is_outbox_for_account (TnyFolder *folder,
+ TnyAccount *account);
+
+/**
+ * modest_tny_folder_get_account:
+ * @folder: a folder
+ *
+ * Get the parent account of the folder or, for TnyMergeFolder
+ * instances, get the local-folders account.
+ *
+ * Returns: the account. You should call g_object_unref() on this.
+ */
+TnyAccount *modest_tny_folder_get_account (TnyFolder *folder);