agentleFS
aspose-emailaspose-email/agentic-net-examples/working-with-imap-client/AGENTS.md

agentic-net-examples / working-with-imap-client

AGENTS.md2 starsChanged 7 months agoMITView on GitHub

C# examples for working-with-imap-client using Aspose.Email for .NET

The file

We split this AGENTS.md into the rules it gives an agent

1 rule. About 0 are common, 1 is distinctive, and 0 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈1

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 0

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Follow root boundaries and testing guide.

    line 369

≈ “Common” is an estimate: at least 1 in 5 of the 16,595 AGENTS.md files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
AGENTS.md

AGENTS - working-with-imap-client

Persona

You are a C# developer working in the working-with-imap-client category. This folder contains standalone C# examples for this category. See the root AGENTS.md for repository-wide conventions.

Scope

  • Examples for working-with-imap-client.
  • Files are standalone .cs examples stored directly in this folder.

Required Namespaces

  • using System; (303 file(s))
  • using Aspose.Email; (281 file(s))
  • using Aspose.Email.Clients.Imap; (265 file(s))
  • using Aspose.Email.Clients; (195 file(s))
  • using System.Threading.Tasks; (107 file(s))
  • using System.Collections.Generic; (83 file(s))
  • using System.Threading; (80 file(s))
  • using System.IO; (73 file(s))
  • using Aspose.Email.Tools.Search; (58 file(s))
  • using Aspose.Email.Storage.Pst; (36 file(s))
  • using Aspose.Email.Clients.Imap.Models; (27 file(s))
  • using System.Linq; (19 file(s))
  • using System.Text; (8 file(s))
  • using System.Net; (5 file(s))
  • using Aspose.Email.Clients.Base; (4 file(s))
  • using System.Net.Security; (4 file(s))
  • using System.Security.Cryptography.X509Certificates; (4 file(s))
  • using System.Diagnostics; (3 file(s))
  • using System.Text.RegularExpressions; (3 file(s))
  • using Aspose.Email.Mime; (3 file(s))
  • using Aspose.Email.Clients.Google; (3 file(s))
  • using System.Security.Cryptography; (2 file(s))
  • using Aspose.Email.Clients.Exchange.Dav; (2 file(s))
  • using Aspose.Email.Mapi; (2 file(s))
  • using Aspose.Email.Clients.Exchange.WebService; (2 file(s))
  • using System.Text.Json; (2 file(s))
  • using Aspose.Email.Clients.Activity; (2 file(s))
  • using System.Net.Http; (2 file(s))
  • using System.IO.Compression; (1 file(s))
  • using Aspose.Email.Calendar; (1 file(s))
  • using Aspose.Words; (1 file(s))
  • using Aspose.Words.Saving; (1 file(s))
  • using Aspose.Email.Clients.Pop3; (1 file(s))
  • using Aspose.Email.Tools; (1 file(s))
  • using System.Net.Sockets; (1 file(s))
  • using Aspose.Email.Clients.Exchange.WebService.Models; (1 file(s))

Files in this folder

FileDescription
activate-client-side-logging-by-setting-the-loggingenabled-boolean-property-to-true-on-the-client-instance.csactivate client side logging by setting the loggingenabled boolean property to true on the client instance
activate-detailed-imap-activity-logging-to-capture-all-client-server-interactions-for-diagnostics-and-auditing.csactivate detailed imap activity logging to capture all client server interactions for diagnostics and auditing
add-a-custom-imap-flag-to-messages-matching-a-subject-pattern-asynchronously-for-later-categorization.csadd a custom imap flag to messages matching a subject pattern asynchronously for later categorization
add-custom-flag-important-to-a-message-identified-by-its-unique-id-using-addmessageflags.csadd custom flag important to a message identified by its unique id using addmessageflags
add-custom-flag-to-all-messages-returned-by-a-mailquery-that-matches-particular-subject-pattern.csadd custom flag to all messages returned by a mailquery that matches particular subject pattern
add-multiple-custom-flags-projecta-and-urgent-to-a-message-using-addmessageflags-array-parameter.csadd multiple custom flags projecta and urgent to a message using addmessageflags array parameter
adjust-imapclient-timeout-to-define-maximum-operation-duration-for-slow-networks.csadjust imapclient timeout to define maximum operation duration for slow networks
append-a-draft-email-to-the-drafts-folder-asynchronously-preserving-its-original-flags.csappend a draft email to the drafts folder asynchronously preserving its original flags
append-a-newly-composed-email-to-the-sent-folder-asynchronously-without-blocking-the-ui-thread.csappend a newly composed email to the sent folder asynchronously without blocking the ui thread
append-archived-eml-files-back-to-the-mailbox-asynchronously-without-blocking-other-operations.csappend archived eml files back to the mailbox asynchronously without blocking other operations
append-system-generated-notifications-to-a-dedicated-notifications-folder-asynchronously-for-monitoring.csappend system generated notifications to a dedicated notifications folder asynchronously for monitoring
apply-a-custom-date-range-filter-in-mailquery-asynchronously-to-retrieve-messages-sent-between-two-dates.csapply a custom date range filter in mailquery asynchronously to retrieve messages sent between two dates
apply-a-custom-flag-to-messages-after-processing-by-using-imapclient-store-to-set-the-flagged-attribute.csapply a custom flag to messages after processing by using imapclient store to set the flagged attribute
apply-a-custom-header-asynchronously-to-outgoing-messages-before-sending-them-via-iasyncimapclient.csapply a custom header asynchronously to outgoing messages before sending them via iasyncimapclient
apply-a-custom-header-filter-to-retrieve-only-messages-containing-a-specific-x-header-value.csapply a custom header filter to retrieve only messages containing a specific x header value
apply-a-custom-label-to-messages-asynchronously-by-setting-a-user-defined-imap-flag-after-download.csapply a custom label to messages asynchronously by setting a user defined imap flag after download
apply-a-custom-retention-policy-asynchronously-by-moving-messages-older-than-a-threshold-to-an-archive-folder.csapply a custom retention policy asynchronously by moving messages older than a threshold to an archive folder
apply-a-custom-spam-detection-rule-asynchronously-moving-flagged-messages-to-the-spam-folder.csapply a custom spam detection rule asynchronously moving flagged messages to the spam folder
apply-a-date-range-filter-using-listmessages-and-searchquery-to-select-messages-received-between-two-dates.csapply a date range filter using listmessages and searchquery to select messages received between two dates
apply-addmessageflags-to-assign-both-todo-and-review-custom-flags-to-batch-of-messages-identified-by-uids.csapply addmessageflags to assign both todo and review custom flags to batch of messages identified by uids
apply-an-async-filter-to-select-only-messages-with-a-specific-x-priority-header-value-for-priority-handling.csapply an async filter to select only messages with a specific x priority header value for priority handling
apply-changemessageflags-with-deleted-operation-to-mark-selected-messages-for-removal-without-immediate-expunge.csapply changemessageflags with deleted operation to mark selected messages for removal without immediate expunge
apply-search-query-parameters-to-retrieve-and-filter-messages-based-on-specified-criteria-within-the-system.csapply search query parameters to retrieve and filter messages based on specified criteria within the system
apply-sentiment-analysis-to-email-bodies-asynchronously-to-prioritize-customer-support-tickets.csapply sentiment analysis to email bodies asynchronously to prioritize customer support tickets
apply-specified-status-flags-to-an-email-message-to-modify-its-read-answered-or-importance-properties.csapply specified status flags to an email message to modify its read answered or importance properties
apply-the-seen-flag-to-a-specific-email-message-by-invoking-client-addmessageflags-with-imapmessageflags-seen.csapply the seen flag to a specific email message by invoking client addmessageflags with imapmessageflags seen
archive-asynchronously-fetched-messages-into-a-zip-file-preserving-original-eml-filenames-for-reference.csarchive asynchronously fetched messages into a zip file preserving original eml filenames for reference
archive-messages-asynchronously-to-cloud-storage-as-encrypted-blobs-for-secure-long-term-retention.csarchive messages asynchronously to cloud storage as encrypted blobs for secure long term retention
assign-authenticationtype-crammd5-to-imapclient-for-cram-md5-authentication-during-the-initial-connection-process.csassign authenticationtype crammd5 to imapclient for cram md5 authentication during the initial connection process
authenticate-the-asynchronous-imap-client-with-username-and-password-before-any-mailbox-operation.csauthenticate the asynchronous imap client with username and password before any mailbox operation
authenticate-using-the-xoauth2-mechanism-asynchronously-to-comply-with-modern-email-security-standards.csauthenticate using the xoauth2 mechanism asynchronously to comply with modern email security standards
back-up-all-messages-from-the-sent-folder-to-local-msg-files-while-preserving-original-timestamps.csback up all messages from the sent folder to local msg files while preserving original timestamps
backup-all-messages-from-the-selected-folder-to-a-local-pst-file-using-imapclient-backup-method.csbackup all messages from the selected folder to a local pst file using imapclient backup method
backup-messages-in-batches-of-500-to-limit-memory-consumption-during-large-mailbox-processing.csbackup messages in batches of 500 to limit memory consumption during large mailbox processing
backup-messages-to-a-memory-stream-instead-of-a-file-for-in-memory-processing.csbackup messages to a memory stream instead of a file for in memory processing
backup-messages-to-a-network-share-path-ensuring-proper-unc-formatting-and-access-permissions.csbackup messages to a network share path ensuring proper unc formatting and access permissions
backup-messages-while-preserving-original-folder-hierarchy-by-creating-subfolders-in-backup-location-matching-server-struc.csbackup messages while preserving original folder hierarchy by creating subfolders in backup location matching server struc
build-a-mailquerybuilder-combining-sender-address-and-subject-keyword-using-and-method.csbuild a mailquerybuilder combining sender address and subject keyword using and method
calculate-the-distribution-of-email-domains-among-senders-asynchronously-for-statistical-reporting.cscalculate the distribution of email domains among senders asynchronously for statistical reporting
calculate-the-time-difference-between-received-and-sent-dates-for-each-message-asynchronously-for-latency-analysis.cscalculate the time difference between received and sent dates for each message asynchronously for latency analysis
call-listmessages-to-obtain-an-imapmessageinfocollection-containing-basic-message-data.cscall listmessages to obtain an imapmessageinfocollection containing basic message data
change-answered-flag-to-true-for-messages-containing-keyword-support-in-body-using-changemessageflags.cschange answered flag to true for messages containing keyword support in body using changemessageflags
change-seen-flag-to-true-for-all-messages-returned-by-a-date-range-mailquery.cschange seen flag to true for all messages returned by a date range mailquery
change-the-name-of-a-specified-directory-on-the-file-system-to-a-new-identifier.cschange the name of a specified directory on the file system to a new identifier
classify-emails-asynchronously-using-a-machine-learning-model-into-predefined-categories.csclassify emails asynchronously using a machine learning model into predefined categories
combine-backup-and-delete-operations-by-archiving-messages-then-removing-them-from-the-server-in-a-single-workflow.cscombine backup and delete operations by archiving messages then removing them from the server in a single workflow
combine-recipient-domain-filter-with-custom-flag-condition-using-mailquerybuilder-or-method.cscombine recipient domain filter with custom flag condition using mailquerybuilder or method
configure-a-custom-ssl-protocol-version-by-setting-imapclient-sslprotocols-before-connecting.csconfigure a custom ssl protocol version by setting imapclient sslprotocols before connecting
configure-imapclient-to-use-tls-1-2-by-setting-securityprotocol-before-establishing-the-connection.csconfigure imapclient to use tls 1 2 by setting securityprotocol before establishing the connection
configure-imapclient-to-use-tls-1-2-protocol-for-secure-communication.csconfigure imapclient to use tls 1 2 protocol for secure communication
configure-the-client-to-ignore-certificate-errors-for-testing-environments-only.csconfigure the client to ignore certificate errors for testing environments only
configure-the-client-to-maintain-a-persistent-connection-using-the-keepalive-option.csconfigure the client to maintain a persistent connection using the keepalive option
configure-the-client-to-use-a-proxy-server-for-all-network-communication.csconfigure the client to use a proxy server for all network communication
configure-the-client-to-write-log-output-to-a-specified-file-by-assigning-the-desired-path-to-logfilepath.csconfigure the client to write log output to a specified file by assigning the desired path to logfilepath
configure-the-imap-client-to-use-a-custom-port-number-for-non-standard-server-configurations.csconfigure the imap client to use a custom port number for non standard server configurations
connect-securely-to-the-imap-server-using-ssl-tls-after-authentication.csconnect securely to the imap server using ssl tls after authentication
construct-mailquerybuilder-programmatically-with-three-statements-combined-using-or-and-and-operators.csconstruct mailquerybuilder programmatically with three statements combined using or and and operators
convert-retrieved-email-messages-to-eml-format-for-archiving-in-standard-email-format.csconvert retrieved email messages to eml format for archiving in standard email format
convert-retrieved-email-messages-to-msg-format-for-compatibility-with-microsoft-outlook.csconvert retrieved email messages to msg format for compatibility with microsoft outlook
copy-selected-messages-asynchronously-to-the-archive-folder-while-preserving-original-flags-and-timestamps.cscopy selected messages asynchronously to the archive folder while preserving original flags and timestamps
create-a-backup-of-mailboxes-to-preserve-all-messages-and-metadata-for-recovery-purposes.cscreate a backup of mailboxes to preserve all messages and metadata for recovery purposes
create-a-custom-mailquery-that-selects-messages-containing-specific-keywords-in-the-body-asynchronously.cscreate a custom mailquery that selects messages containing specific keywords in the body asynchronously
create-a-mailquery-filtering-messages-received-after-january-first-2023-and-pass-to-listmessages.cscreate a mailquery filtering messages received after january first 2023 and pass to listmessages
create-a-mailquery-filtering-messages-sent-from-a-specific-domain-and-received-within-last-seven-days.cscreate a mailquery filtering messages sent from a specific domain and received within last seven days
create-a-mailquery-filtering-messages-where-recipient-address-ends-with-example-com-and-execute-it.cscreate a mailquery filtering messages where recipient address ends with example com and execute it
create-a-monitoring-dashboard-that-displays-the-hourly-count-of-unread-messages-retrieved-via-imapclient.cscreate a monitoring dashboard that displays the hourly count of unread messages retrieved via imapclient
create-a-new-mailbox-folder-asynchronously-and-verify-its-existence-by-listing-folders.cscreate a new mailbox folder asynchronously and verify its existence by listing folders
create-a-unit-test-asserting-validatecredentials-returns-true-for-known-good-credentials.cscreate a unit test asserting validatecredentials returns true for known good credentials
create-a-unit-test-asserting-validatecredentialsasync-throws-exception-for-invalid-password.cscreate a unit test asserting validatecredentialsasync throws exception for invalid password
create-an-iasyncimapclient-instance-asynchronously-using-imapclient-createasync-with-default-settings.cscreate an iasyncimapclient instance asynchronously using imapclient createasync with default settings
create-an-imapclient-instance-with-host-username-and-password-to-connect.cscreate an imapclient instance with host username and password to connect
create-an-imapmessageinfocollection-from-search-results-and-delete-those-messages-with-deletemessages.cscreate an imapmessageinfocollection from search results and delete those messages with deletemessages
create-rename-delete-and-list-imap-server-folders-programmatically-using-the-provided-api-methods.cscreate rename delete and list imap server folders programmatically using the provided api methods
create-thumbnail-images-of-attached-pdfs-asynchronously-for-quick-visual-reference.cscreate thumbnail images of attached pdfs asynchronously for quick visual reference
define-search-filters-programmatically-for-example-using-subject-contains-invoice-or-date-greaterthan-somedate-expressions-to.csdefine search filters programmatically for example using subject contains invoice or date greaterthan somedate expressions to
delete-a-batch-of-email-messages-by-invoking-the-deletemessages-method-with-a-message-collection.csdelete a batch of email messages by invoking the deletemessages method with a message collection
delete-a-single-email-by-its-unique-identifier-uid-using-deletemessage-function.csdelete a single email by its unique identifier uid using deletemessage function
delete-a-specific-email-message-by-invoking-client-deletemessage-with-the-target-message-object-instance.csdelete a specific email message by invoking client deletemessage with the target message object instance
delete-a-specified-imap-folder-asynchronously-and-ensure-it-no-longer-appears-in-folder-listings.csdelete a specified imap folder asynchronously and ensure it no longer appears in folder listings
delete-all-messages-flagged-as-deleted-after-confirming-they-are-older-than-thirty-days-using-a-cleanup-job.csdelete all messages flagged as deleted after confirming they are older than thirty days using a cleanup job
delete-all-messages-flagged-as-junk-by-iterating-through-imapmessageinfocollection-and-invoking-deletemessages.csdelete all messages flagged as junk by iterating through imapmessageinfocollection and invoking deletemessages
delete-messages-flagged-as-seen-for-over-90-days-to-clean-up-old-read-mail.csdelete messages flagged as seen for over 90 days to clean up old read mail
delete-messages-from-a-list-of-spam-sender-addresses-loaded-from-a-csv-file-using-batch-uid-deletion.csdelete messages from a list of spam sender addresses loaded from a csv file using batch uid deletion
delete-messages-marked-as-answered-and-older-than-six-months-to-clean-up-resolved-threads.csdelete messages marked as answered and older than six months to clean up resolved threads
delete-messages-older-than-a-given-date-range-from-the-server-to-free-up-storage-space.csdelete messages older than a given date range from the server to free up storage space
delete-messages-older-than-one-year-by-calculating-date-threshold-and-passing-matching-uids-to-deletemessages.csdelete messages older than one year by calculating date threshold and passing matching uids to deletemessages
delete-messages-that-contain-attachments-larger-than-10-mb-by-inspecting-size-property-in-imapmessageinfo-before-deletion.csdelete messages that contain attachments larger than 10 mb by inspecting size property in imapmessageinfo before deletion
delete-messages-that-contain-specific-keywords-in-the-body-by-scanning-minimal-content-and-then-calling-deletemessages.csdelete messages that contain specific keywords in the body by scanning minimal content and then calling deletemessages
delete-messages-that-exceed-a-specified-size-threshold-e-g-5-mb-by-filtering-getmessageinfo-results-before-calling-deletem.csdelete messages that exceed a specified size threshold e g 5 mb by filtering getmessageinfo results before calling deletem
delete-messages-that-fail-spf-validation-by-scanning-headers-and-removing-those-with-fail-results.csdelete messages that fail spf validation by scanning headers and removing those with fail results
delete-messages-that-have-been-marked-as-flagged-for-more-than-60-days-to-clean-up-pending-items.csdelete messages that have been marked as flagged for more than 60 days to clean up pending items
delete-messages-that-match-a-list-of-prohibited-domains-by-extracting-sender-addresses-and-comparing-against-a-blacklist.csdelete messages that match a list of prohibited domains by extracting sender addresses and comparing against a blacklist
delete-messages-that-match-a-regular-expression-pattern-in-the-subject-line-by-building-a-uid-list-first.csdelete messages that match a regular expression pattern in the subject line by building a uid list first
delete-several-emails-using-an-array-of-uids-passed-to-deletemessages-to-target-specific-messages.csdelete several emails using an array of uids passed to deletemessages to target specific messages
detect-and-handle-server-initiated-mailbox-quota-exceeded-errors-during-message-retrieval.csdetect and handle server initiated mailbox quota exceeded errors during message retrieval
detect-duplicate-message-id-values-asynchronously-during-bulk-import-and-skip-processing-duplicates.csdetect duplicate message id values asynchronously during bulk import and skip processing duplicates
download-headers-of-recent-emails-from-a-specific-folder-without-fetching-full-message-bodies.csdownload headers of recent emails from a specific folder without fetching full message bodies
enable-and-disable-client-side-logging-by-invoking-client-startlogging-to-begin-and-client-stoplogging-to-end.csenable and disable client side logging by invoking client startlogging to begin and client stoplogging to end
enable-case-sensitive-search-on-subject-field-by-setting-casesensitive-property-in-mailquerybuilder.csenable case sensitive search on subject field by setting casesensitive property in mailquerybuilder
enable-compression-on-the-asynchronous-imap-connection-to-reduce-data-transfer-size.csenable compression on the asynchronous imap connection to reduce data transfer size
enable-detailed-imap-activity-logging-to-capture-protocol-exchanges-for-troubleshooting-connection-issues.csenable detailed imap activity logging to capture protocol exchanges for troubleshooting connection issues
enable-imap-activity-logging-to-a-rotating-file-system-to-avoid-unlimited-log-growth.csenable imap activity logging to a rotating file system to avoid unlimited log growth
enable-logging-on-imapclient-to-capture-detailed-protocol-communication-for-debugging-flag-manipulation-issues.csenable logging on imapclient to capture detailed protocol communication for debugging flag manipulation issues
enable-multiconnection-mode-and-backup-large-mailboxes-efficiently-with-parallel-streaming.csenable multiconnection mode and backup large mailboxes efficiently with parallel streaming
enable-multiconnection-option-on-imapclient-and-list-messages-in-parallel-to-improve-performance.csenable multiconnection option on imapclient and list messages in parallel to improve performance
enable-server-side-sorting-of-messages-asynchronously-using-the-sort-extension-for-ordered-retrieval.csenable server side sorting of messages asynchronously using the sort extension for ordered retrieval
enable-utf-8-query-encoding-and-perform-case-sensitive-search-for-phrase-project-update-in-bodies.csenable utf 8 query encoding and perform case sensitive search for phrase project update in bodies
establish-a-secure-connection-to-an-imap-server-utilizing-the-imapclient-class-with-appropriate-credentials.csestablish a secure connection to an imap server utilizing the imapclient class with appropriate credentials
establish-a-secure-imap-connection-using-ssl-tls-and-verify-certificate-validation-during-login.csestablish a secure imap connection using ssl tls and verify certificate validation during login
establish-an-asynchronous-connection-by-invoking-the-connectasync-method-on-the-client-object-instance.csestablish an asynchronous connection by invoking the connectasync method on the client object instance
establish-an-asynchronous-connection-to-an-imap-server-handling-authentication-and-network-latency-efficiently.csestablish an asynchronous connection to an imap server handling authentication and network latency efficiently
establish-an-imap-connection-using-the-imapclient-class-by-implementing-the-steps-demonstrated-in-the-example.csestablish an imap connection using the imapclient class by implementing the steps demonstrated in the example
examine-the-provided-imap-connection-notes-to-validate-configuration-parameters-and-authentication-procedures-thoroughly.csexamine the provided imap connection notes to validate configuration parameters and authentication procedures thoroughly
execute-a-search-query-through-client-search-query-to-obtain-all-messages-that-satisfy-the-specified-criteria.csexecute a search query through client search query to obtain all messages that satisfy the specified criteria
execute-asynchronous-message-deletion-by-calling-client-deletemessageasync-message-and-awaiting-the-resulting-task.csexecute asynchronous message deletion by calling client deletemessageasync message and awaiting the resulting task
execute-imap-commands-asynchronously-to-enable-non-blocking-email-retrieval-and-manipulation-within-net-applications.csexecute imap commands asynchronously to enable non blocking email retrieval and manipulation within net applications
export-message-metadata-subject-from-date-to-a-csv-file-for-reporting-purposes.csexport message metadata subject from date to a csv file for reporting purposes
expunge-the-mailbox-asynchronously-after-flagging-messages-for-deletion-to-permanently-remove-them.csexpunge the mailbox asynchronously after flagging messages for deletion to permanently remove them
extract-attachment-streams-from-imapmessageinfo-attachments-and-write-them-to-a-temporary-folder.csextract attachment streams from imapmessageinfo attachments and write them to a temporary folder
extract-calendar-events-from-icalendar-attachments-and-save-them-as-separate-ics-files.csextract calendar events from icalendar attachments and save them as separate ics files
extract-plain-text-and-html-bodies-asynchronously-from-a-multipart-message-into-separate-files.csextract plain text and html bodies asynchronously from a multipart message into separate files
fetch-and-save-attachments-from-unread-messages-to-a-local-directory-for-further-processing.csfetch and save attachments from unread messages to a local directory for further processing
fetch-message-bodies-asynchronously-in-plain-text-format-only-ignoring-html-parts.csfetch message bodies asynchronously in plain text format only ignoring html parts
fetch-message-flags-asynchronously-and-synchronize-them-with-a-redis-cache-for-quick-status-lookup.csfetch message flags asynchronously and synchronize them with a redis cache for quick status lookup
fetch-message-flags-asynchronously-for-each-email-and-update-a-status-column-in-an-external-system.csfetch message flags asynchronously for each email and update a status column in an external system
fetch-message-headers-asynchronously-and-extract-the-message-id-to-detect-duplicate-emails.csfetch message headers asynchronously and extract the message id to detect duplicate emails
fetch-messages-asynchronously-and-download-all-attachments-preserving-original-filenames-in-a-local-directory.csfetch messages asynchronously and download all attachments preserving original filenames in a local directory
fetch-messages-asynchronously-and-encrypt-their-attachments-before-saving-them-to-local-storage-for-compliance.csfetch messages asynchronously and encrypt their attachments before saving them to local storage for compliance
fetch-messages-asynchronously-using-the-idle-command-simulation-to-receive-real-time-new-mail-notifications.csfetch messages asynchronously using the idle command simulation to receive real time new mail notifications
fetch-messages-internally-stored-after-a-specific-imap-internal-date-using-mailquery-internaldate-criteria.csfetch messages internally stored after a specific imap internal date using mailquery internaldate criteria
fetch-server-capabilities-asynchronously-and-adjust-client-features-such-as-compression-and-idle-support.csfetch server capabilities asynchronously and adjust client features such as compression and idle support
fetchmessages-with-selected-imapmessageinfo-objects-to-download-complete-mailmessage-instances.csfetchmessages with selected imapmessageinfo objects to download complete mailmessage instances
filter-messages-asynchronously-by-attachment-presence-then-download-those-attachments-to-cloud-storage.csfilter messages asynchronously by attachment presence then download those attachments to cloud storage
generate-a-csv-report-asynchronously-summarizing-sender-subject-and-received-date-for-each-email.csgenerate a csv report asynchronously summarizing sender subject and received date for each email
generate-a-diagnostic-report-listing-the-server-supported-authentication-mechanisms-retrieved-via-imapclient-capabilities.csgenerate a diagnostic report listing the server supported authentication mechanisms retrieved via imapclient capabilities
generate-a-pst-backup-of-the-mailbox-by-invoking-client-backupmailbox-with-the-specified-file-path.csgenerate a pst backup of the mailbox by invoking client backupmailbox with the specified file path
generate-pdf-summaries-of-each-email-asynchronously-for-offline-review.csgenerate pdf summaries of each email asynchronously for offline review
handle-imapexception-after-each-operation-to-ensure-reliable-execution-and-log-error-details.cshandle imapexception after each operation to ensure reliable execution and log error details
handle-transient-network-failures-by-retrying-asynchronous-imap-operations-up-to-three-times-with-exponential-backoff.cshandle transient network failures by retrying asynchronous imap operations up to three times with exponential backoff
implement-a-background-async-task-that-periodically-cleans-up-messages-marked-for-deletion-older-than-thirty-days.csimplement a background async task that periodically cleans up messages marked for deletion older than thirty days
implement-a-background-service-that-continuously-calls-imapclient-idle-and-logs-new-message-identifiers-as-they-arrive.csimplement a background service that continuously calls imapclient idle and logs new message identifiers as they arrive
implement-a-background-service-that-continuously-polls-the-imap-server-asynchronously-for-new-messages-every-minute.csimplement a background service that continuously polls the imap server asynchronously for new messages every minute
implement-a-background-service-that-periodically-validates-imap-credentials-and-alerts-on-failures.csimplement a background service that periodically validates imap credentials and alerts on failures
implement-a-cancellation-strategy-that-aborts-all-pending-asynchronous-imap-tasks-when-network-connectivity-is-lost.csimplement a cancellation strategy that aborts all pending asynchronous imap tasks when network connectivity is lost
implement-a-cancellationtokensource-with-a-five-second-delay-to-abort-long-running-queries.csimplement a cancellationtokensource with a five second delay to abort long running queries
implement-a-retry-loop-that-reconnects-imapclient-up-to-three-times-when-a-timeout-exception-occurs.csimplement a retry loop that reconnects imapclient up to three times when a timeout exception occurs
implement-a-retry-mechanism-for-credential-validation-when-transient-network-errors-occur.csimplement a retry mechanism for credential validation when transient network errors occur
implement-a-retry-mechanism-that-re-issues-an-asynchronous-fetch-when-a-cancellationtoken-is-not-yet-signaled.csimplement a retry mechanism that re issues an asynchronous fetch when a cancellationtoken is not yet signaled
implement-a-retry-mechanism-that-reissues-fetchmessages-when-a-network-interruption-exception-is-caught.csimplement a retry mechanism that reissues fetchmessages when a network interruption exception is caught
implement-a-retry-policy-that-respects-the-cancellationtoken-during-asynchronous-imap-calls.csimplement a retry policy that respects the cancellationtoken during asynchronous imap calls
implement-a-throttling-mechanism-that-limits-concurrent-asynchronous-fetch-operations-to-avoid-server-overload.csimplement a throttling mechanism that limits concurrent asynchronous fetch operations to avoid server overload
implement-a-watchdog-timer-that-cancels-asynchronous-imap-operations-exceeding-a-configurable-duration.csimplement a watchdog timer that cancels asynchronous imap operations exceeding a configurable duration
implement-an-event-handler-that-updates-a-ui-progress-bar-when-an-asynchronous-message-fetch-completes.csimplement an event handler that updates a ui progress bar when an asynchronous message fetch completes
implement-async-error-handling-that-retries-only-on-transient-imap-errors-not-on-authentication-failures.csimplement async error handling that retries only on transient imap errors not on authentication failures
implement-async-error-logging-that-captures-stack-traces-and-imap-response-codes-for-each-failed-operation.csimplement async error logging that captures stack traces and imap response codes for each failed operation
implement-asynchronous-pagination-with-continuation-tokens-to-efficiently-process-mailboxes-containing-thousands-of-messag.csimplement asynchronous pagination with continuation tokens to efficiently process mailboxes containing thousands of messag
implement-asynchronous-retrieval-of-email-messages-using-non-blocking-operations-to-improve-application-responsiveness.csimplement asynchronous retrieval of email messages using non blocking operations to improve application responsiveness
implement-functionality-to-back-up-and-restore-mailboxes-using-imap-protocols-ensuring-data-integrity-and-consistency.csimplement functionality to back up and restore mailboxes using imap protocols ensuring data integrity and consistency
implement-functionality-to-filter-email-messages-by-date-range-supporting-inclusive-and-exclusive-boundaries.csimplement functionality to filter email messages by date range supporting inclusive and exclusive boundaries
implement-functionality-to-retrieve-email-messages-that-match-a-specified-subject-line-filter-criteria.csimplement functionality to retrieve email messages that match a specified subject line filter criteria
implement-functionality-to-set-clear-and-retrieve-imap-message-flags-on-the-server-using-appropriate-protocols.csimplement functionality to set clear and retrieve imap message flags on the server using appropriate protocols
implement-graceful-shutdown-by-cancelling-all-pending-asynchronous-imap-tasks-upon-receiving-a-termination-signal.csimplement graceful shutdown by cancelling all pending asynchronous imap tasks upon receiving a termination signal
implement-imap-server-querying-to-retrieve-messages-matching-specific-criteria-while-efficiently-handling-server-responses.csimplement imap server querying to retrieve messages matching specific criteria while efficiently handling server responses
implement-pagination-by-retrieving-messages-in-batches-of-one-hundred-using-listmessages-start-index-and-count-parameters.csimplement pagination by retrieving messages in batches of one hundred using listmessages start index and count parameters
implement-pagination-when-fetching-large-mailboxes-to-limit-memory-consumption.csimplement pagination when fetching large mailboxes to limit memory consumption
instantiate-a-directory-at-the-specified-path-to-organize-subsequent-files-and-resources-within-the-project.csinstantiate a directory at the specified path to organize subsequent files and resources within the project
instantiate-an-imapquerybuilder-object-to-programmatically-construct-complex-imap-search-queries-for-mailbox-operations.csinstantiate an imapquerybuilder object to programmatically construct complex imap search queries for mailbox operations
instantiate-imapclient-enable-ssl-and-authenticate-using-user-credentials-securely.csinstantiate imapclient enable ssl and authenticate using user credentials securely
instantiate-imapclient-with-server-address-username-and-password-then-connect-to-the-imap-server.csinstantiate imapclient with server address username and password then connect to the imap server
integrate-imap-credential-validation-into-a-ci-pipeline-to-prevent-deployment-with-incorrect-settings.csintegrate imap credential validation into a ci pipeline to prevent deployment with incorrect settings
invoke-client-createfolder-newfolder-to-programmatically-generate-a-new-folder-within-the-current-mailbox-hierarchy-on-the.csinvoke client createfolder newfolder to programmatically generate a new folder within the current mailbox hierarchy on the
invoke-client-deletefolder-with-the-target-folder-name-to-permanently-remove-the-specified-directory-from-storage.csinvoke client deletefolder with the target folder name to permanently remove the specified directory from storage
invoke-client-renamefolder-with-the-existing-folder-name-and-desired-new-name-to-rename-the-directory.csinvoke client renamefolder with the existing folder name and desired new name to rename the directory
invoke-imapclient-idle-with-a-timeout-interval-to-receive-real-time-new-mail-notifications.csinvoke imapclient idle with a timeout interval to receive real time new mail notifications
invoke-the-validatecredentials-method-to-programmatically-confirm-the-supplied-username-and-password-against-the-server.csinvoke the validatecredentials method to programmatically confirm the supplied username and password against the server
iterate-the-imapmessageinfocollection-and-log-each-message-sequencenumber-and-uniqueid.csiterate the imapmessageinfocollection and log each message sequencenumber and uniqueid
list-all-mailboxes-asynchronously-and-filter-out-system-folders-before-presenting-to-the-user.cslist all mailboxes asynchronously and filter out system folders before presenting to the user
list-all-unread-messages-asynchronously-by-constructing-a-mailquery-filtering-on-the-unseen-flag.cslist all unread messages asynchronously by constructing a mailquery filtering on the unseen flag
list-available-mail-folders-after-successful-credential-validation-to-confirm-access-permissions.cslist available mail folders after successful credential validation to confirm access permissions
list-unread-messages-only-by-applying-the-unseen-flag-filter-in-listmessages.cslist unread messages only by applying the unseen flag filter in listmessages
log-detailed-imap-command-and-response-strings-for-each-asynchronous-call-to-aid-troubleshooting.cslog detailed imap command and response strings for each asynchronous call to aid troubleshooting
log-each-asynchronous-imap-command-with-timestamps-to-a-structured-json-file-for-audit-trails.cslog each asynchronous imap command with timestamps to a structured json file for audit trails
log-each-server-response-code-after-executing-an-imap-command-to-assist-debugging-communication-issues.cslog each server response code after executing an imap command to assist debugging communication issues
log-the-duration-of-each-asynchronous-imap-call-using-a-stopwatch-and-write-results-to-diagnostics.cslog the duration of each asynchronous imap call using a stopwatch and write results to diagnostics
log-the-size-of-each-fetched-mailmessage-in-kilobytes-to-monitor-bandwidth-usage.cslog the size of each fetched mailmessage in kilobytes to monitor bandwidth usage
mark-a-set-of-messages-as-seen-asynchronously-after-successful-processing-to-prevent-re-processing.csmark a set of messages as seen asynchronously after successful processing to prevent re processing
mark-selected-messages-as-read-after-confirming-successful-retrieval-of-their-unique-identifiers.csmark selected messages as read after confirming successful retrieval of their unique identifiers
measure-round-trip-time-for-listmessages-calls-and-record-latency-for-server-responsiveness-evaluation.csmeasure round trip time for listmessages calls and record latency for server responsiveness evaluation
monitor-progress-of-asynchronous-folder-enumeration-and-log-each-folder-name-as-it-becomes-available.csmonitor progress of asynchronous folder enumeration and log each folder name as it becomes available
move-a-batch-of-messages-from-the-inbox-to-a-custom-folder-asynchronously-using-a-mailquery-filter.csmove a batch of messages from the inbox to a custom folder asynchronously using a mailquery filter
move-messages-matching-a-subject-filter-to-a-designated-archive-folder-using-imap-commands.csmove messages matching a subject filter to a designated archive folder using imap commands
move-processed-messages-from-the-inbox-folder-to-a-custom-archive-folder-using-imapclient-movemessage.csmove processed messages from the inbox folder to a custom archive folder using imapclient movemessage
obtain-a-collection-of-email-messages-from-the-server-by-invoking-the-client-listmessages-method.csobtain a collection of email messages from the server by invoking the client listmessages method
obtain-the-current-flag-status-of-a-specific-email-message-by-invoking-the-client-getmessageflags-message-method.csobtain the current flag status of a specific email message by invoking the client getmessageflags message method
parse-mime-parts-of-a-complex-email-to-separate-inline-images-from-attachments.csparse mime parts of a complex email to separate inline images from attachments
perform-a-health-check-after-each-operation-by-calling-imapclient-noop-to-ensure-server-responsiveness.csperform a health check after each operation by calling imapclient noop to ensure server responsiveness
perform-a-health-check-that-asynchronously-verifies-the-imap-connection-and-reports-status.csperform a health check that asynchronously verifies the imap connection and reports status
perform-an-asynchronous-operation-to-permanently-delete-a-specified-message-from-the-mail-store.csperform an asynchronous operation to permanently delete a specified message from the mail store
perform-an-asynchronous-search-for-messages-with-subject-matching-a-regular-expression-and-flag-them.csperform an asynchronous search for messages with subject matching a regular expression and flag them
perform-an-imap-backup-by-exporting-all-messages-from-selected-folders-to-local-eml-files.csperform an imap backup by exporting all messages from selected folders to local eml files
perform-case-insensitive-search-for-keyword-invoice-in-subject-across-entire-mailbox.csperform case insensitive search for keyword invoice in subject across entire mailbox
perform-crud-operations-on-messages-stored-on-an-imap-server-including-retrieval-deletion-and-flag-updates.csperform crud operations on messages stored on an imap server including retrieval deletion and flag updates
perform-parallel-fetching-by-dividing-imapmessageinfocollection-into-chunks-and-processing-each-chunk-on-separate-threads.csperform parallel fetching by dividing imapmessageinfocollection into chunks and processing each chunk on separate threads
process-and-interpret-validation-results-to-determine-compliance-and-manage-any-reported-errors-accordingly.csprocess and interpret validation results to determine compliance and manage any reported errors accordingly
programmatically-delete-all-flag-attributes-from-email-messages-to-clear-status-indicators-and-reset-processing-state.csprogrammatically delete all flag attributes from email messages to clear status indicators and reset processing state
programmatically-transfer-the-specified-email-message-to-a-target-folder-by-invoking-client-movemessage-message.csprogrammatically transfer the specified email message to a target folder by invoking client movemessage message
read-email-messages-from-the-sent-folder-and-export-them-to-csv-for-reporting-purposes.csread email messages from the sent folder and export them to csv for reporting purposes
recover-mailbox-data-from-backups-into-the-mail-system-while-preserving-all-folder-hierarchy-and-metadata.csrecover mailbox data from backups into the mail system while preserving all folder hierarchy and metadata
remove-a-specific-email-message-by-invoking-the-client-object-s-deletemessage-method-with-the-target-message.csremove a specific email message by invoking the client object s deletemessage method with the target message
remove-a-specific-email-message-from-the-mailbox-programmatically-using-the-provided-api-call.csremove a specific email message from the mailbox programmatically using the provided api call
remove-both-seen-and-flagged-standard-flags-from-a-message-by-calling-removemessageflags-with-combined-enumeration.csremove both seen and flagged standard flags from a message by calling removemessageflags with combined enumeration
remove-custom-flag-archived-from-messages-older-than-one-year-using-date-based-mailquery.csremove custom flag archived from messages older than one year using date based mailquery
remove-deleted-flag-from-a-specific-message-using-removemessageflags-with-appropriate-enumeration.csremove deleted flag from a specific message using removemessageflags with appropriate enumeration
remove-multiple-email-messages-simultaneously-from-a-mailbox-using-bulk-deletion-functionality-to-improve-processing-efficiency.csremove multiple email messages simultaneously from a mailbox using bulk deletion functionality to improve processing efficiency
remove-multiple-messages-by-providing-an-array-of-sequence-numbers-to-deletemessages-for-batch-deletion.csremove multiple messages by providing an array of sequence numbers to deletemessages for batch deletion
remove-selected-email-messages-from-an-imap-server-using-appropriate-protocol-commands-and-ensure-server-synchronization.csremove selected email messages from an imap server using appropriate protocol commands and ensure server synchronization
remove-the-deleted-flag-from-messages-asynchronously-to-restore-them-to-the-visible-mailbox.csremove the deleted flag from messages asynchronously to restore them to the visible mailbox
remove-the-flagged-flag-from-a-message-by-calling-client-removemessageflags-message-imapmessageflags-flagged.csremove the flagged flag from a message by calling client removemessageflags message imapmessageflags flagged
remove-the-specified-directory-from-the-file-system-ensuring-all-contained-files-are-permanently-deleted.csremove the specified directory from the file system ensuring all contained files are permanently deleted
rename-an-existing-imap-folder-asynchronously-then-confirm-the-rename-by-fetching-the-updated-list.csrename an existing imap folder asynchronously then confirm the rename by fetching the updated list
restore-messages-from-a-memory-stream-directly-into-the-mailbox-without-intermediate-files.csrestore messages from a memory stream directly into the mailbox without intermediate files
restore-messages-in-batches-while-preserving-original-folder-hierarchy-using-imapclient-createfolder-as-needed.csrestore messages in batches while preserving original folder hierarchy using imapclient createfolder as needed
restore-previously-backed-up-messages-from-a-pst-file-into-the-target-mailbox-using-imapclient-restore.csrestore previously backed up messages from a pst file into the target mailbox using imapclient restore
retrieve-a-message-by-its-sequence-number-after-modifying-flags-to-verify-persistence.csretrieve a message by its sequence number after modifying flags to verify persistence
retrieve-a-single-email-message-asynchronously-by-its-unique-identifier-and-save-as-eml.csretrieve a single email message asynchronously by its unique identifier and save as eml
retrieve-all-mailbox-messages-by-calling-listmessages-without-parameters-and-store-them-in-a-collection.csretrieve all mailbox messages by calling listmessages without parameters and store them in a collection
retrieve-and-display-imap-server-activity-logs-for-monitoring-connection-and-command-events-including-authentication.csretrieve and display imap server activity logs for monitoring connection and command events including authentication
retrieve-and-interpret-flag-properties-of-email-messages-using-the-api-to-determine-each-message-s-status.csretrieve and interpret flag properties of email messages using the api to determine each message s status
retrieve-email-messages-asynchronously-by-invoking-the-client-fetchmessagesasync-method-handling-the-returned-task-appropriatel.csretrieve email messages asynchronously by invoking the client fetchmessagesasync method handling the returned task appropriatel
retrieve-email-messages-from-an-imap-server-using-appropriate-authentication-and-mailbox-selection-parameters.csretrieve email messages from an imap server using appropriate authentication and mailbox selection parameters
retrieve-message-body-previews-asynchronously-limiting-each-preview-to-the-first-200-characters.csretrieve message body previews asynchronously limiting each preview to the first 200 characters
retrieve-message-envelope-information-asynchronously-to-obtain-sender-recipients-and-subject.csretrieve message envelope information asynchronously to obtain sender recipients and subject
retrieve-message-uid-values-asynchronously-and-store-them-in-a-local-database-for-synchronization.csretrieve message uid values asynchronously and store them in a local database for synchronization
retrieve-message-unique-identifiers-after-flag-updates-by-calling-listmessages-with-fetchuid-option.csretrieve message unique identifiers after flag updates by calling listmessages with fetchuid option
retrieve-messages-addressed-to-a-specific-recipient-asynchronously-using-mailquery-to-filter-the-to-header.csretrieve messages addressed to a specific recipient asynchronously using mailquery to filter the to header
retrieve-messages-asynchronously-and-apply-a-regex-to-extract-order-numbers-from-the-email-body.csretrieve messages asynchronously and apply a regex to extract order numbers from the email body
retrieve-messages-asynchronously-in-batches-of-fifty-processing-each-batch-sequentially-for-pagination.csretrieve messages asynchronously in batches of fifty processing each batch sequentially for pagination
retrieve-only-message-headers-by-accessing-imapmessageinfo-header-fields-without-downloading-full-bodies.csretrieve only message headers by accessing imapmessageinfo header fields without downloading full bodies
retrieve-only-messages-larger-than-five-megabytes-asynchronously-to-identify-potential-large-attachments.csretrieve only messages larger than five megabytes asynchronously to identify potential large attachments
retrieve-only-messages-that-contain-image-jpeg-attachments-asynchronously-using-a-custom-mailquery.csretrieve only messages that contain image jpeg attachments asynchronously using a custom mailquery
retrieve-only-unseen-messages-by-creating-mailquery-with-unseen-flag-criterion-and-executing-listmessages.csretrieve only unseen messages by creating mailquery with unseen flag criterion and executing listmessages
retrieve-the-mime-messageid-property-from-imapmessageinfo-to-correlate-messages-without-full-download.csretrieve the mime messageid property from imapmessageinfo to correlate messages without full download
retrieve-total-message-count-from-the-inbox-folder-to-assess-mailbox-size.csretrieve total message count from the inbox folder to assess mailbox size
save-each-fetched-mailmessage-to-msg-format-using-the-save-method-with-a-unique-filename.cssave each fetched mailmessage to msg format using the save method with a unique filename
search-for-emails-containing-specific-keywords-in-the-body-using-imap-server-side-search.cssearch for emails containing specific keywords in the body using imap server side search
search-for-messages-asynchronously-using-a-mailquery-that-filters-by-sender-address-and-date-range.cssearch for messages asynchronously using a mailquery that filters by sender address and date range
select-the-inbox-folder-before-performing-any-backup-or-delete-operations-on-the-mailbox.csselect the inbox folder before performing any backup or delete operations on the mailbox
send-a-webhook-asynchronously-after-each-message-download-with-subject-and-sender-metadata.cssend a webhook asynchronously after each message download with subject and sender metadata
send-an-email-message-asynchronously-through-iasyncimapclient-specifying-recipient-subject-and-html-body.cssend an email message asynchronously through iasyncimapclient specifying recipient subject and html body
set-a-custom-thirty-second-timeout-for-each-asynchronous-imap-operation.csset a custom thirty second timeout for each asynchronous imap operation
set-authenticationtype-to-ntlm-for-environments-requiring-windows-integrated-authentication.csset authenticationtype to ntlm for environments requiring windows integrated authentication
set-imapclient-autoreconnect-option-to-automatically-recover-from-network-interruptions.csset imapclient autoreconnect option to automatically recover from network interruptions
set-imapclient-port-property-to-993-for-secure-imap-over-ssl-before-authentication.csset imapclient port property to 993 for secure imap over ssl before authentication
set-imapclient-port-to-993-and-enable-ssl-for-secure-communication.csset imapclient port to 993 and enable ssl for secure communication
set-imapclient-readonly-to-true-to-prevent-mailbox-modifications-during-enumeration.csset imapclient readonly to true to prevent mailbox modifications during enumeration
set-imapclient-timeout-property-to-sixty-seconds-before-large-batch-retrieval.csset imapclient timeout property to sixty seconds before large batch retrieval
set-the-deleted-flag-on-messages-older-than-one-year-asynchronously-then-expunge-them.csset the deleted flag on messages older than one year asynchronously then expunge them
set-the-maxconnections-property-to-limit-simultaneous-server-connections-during-bulk-processing.csset the maxconnections property to limit simultaneous server connections during bulk processing
set-up-imap-protocol-logging-to-capture-client-server-communication-details-and-enable-diagnostic-analysis.csset up imap protocol logging to capture client server communication details and enable diagnostic analysis
specify-utf-8-encoding-for-query-strings-to-correctly-handle-non-ascii-characters.csspecify utf 8 encoding for query strings to correctly handle non ascii characters
stop-asynchronous-pagination-when-a-mailquery-returns-no-more-results-to-avoid-infinite-loops.csstop asynchronous pagination when a mailquery returns no more results to avoid infinite loops
store-email-metadata-such-as-message-id-date-and-size-asynchronously-into-a-nosql-database-for-analytics.csstore email metadata such as message id date and size asynchronously into a nosql database for analytics
store-raw-mime-content-in-a-blob-storage-service-asynchronously-for-archival-purposes.csstore raw mime content in a blob storage service asynchronously for archival purposes
store-raw-mime-content-in-azure-blob-storage-asynchronously-for-disaster-recovery.csstore raw mime content in azure blob storage asynchronously for disaster recovery
stream-large-email-bodies-directly-to-a-file-asynchronously-without-loading-the-entire-content-into-memory.csstream large email bodies directly to a file asynchronously without loading the entire content into memory
stream-message-bodies-directly-to-a-network-socket-asynchronously-for-real-time-forwarding.csstream message bodies directly to a network socket asynchronously for real time forwarding
synchronize-local-email-cache-asynchronously-by-fetching-incremental-uid-ranges-and-updating-stored-records.cssynchronize local email cache asynchronously by fetching incremental uid ranges and updating stored records
synchronize-local-folder-hierarchy-asynchronously-by-creating-missing-server-folders-to-match-configuration.cssynchronize local folder hierarchy asynchronously by creating missing server folders to match configuration
temporarily-set-readonly-to-false-delete-messages-older-than-thirty-days-then-restore-read-only-mode.cstemporarily set readonly to false delete messages older than thirty days then restore read only mode
transfer-email-messages-between-imap-folders-programmatically-ensuring-proper-synchronization-state-updates-and-efficient.cstransfer email messages between imap folders programmatically ensuring proper synchronization state updates and efficient
trigger-a-webhook-asynchronously-after-each-message-is-successfully-downloaded-sending-subject-and-sender-metadata.cstrigger a webhook asynchronously after each message is successfully downloaded sending subject and sender metadata
update-a-grafana-dashboard-asynchronously-with-real-time-counts-of-unread-emails-per-folder.csupdate a grafana dashboard asynchronously with real time counts of unread emails per folder
update-a-redis-cache-asynchronously-with-the-latest-email-identifiers-for-quick-lookup.csupdate a redis cache asynchronously with the latest email identifiers for quick lookup
update-a-sharepoint-list-asynchronously-with-email-subject-and-link-to-stored-eml-file.csupdate a sharepoint list asynchronously with email subject and link to stored eml file
update-external-systems-with-message-flags-asynchronously-to-ensure-mailbox-flag-consistency.csupdate external systems with message flags asynchronously to ensure mailbox flag consistency
use-a-cancellationtoken-to-stop-the-background-polling-service-gracefully-when-the-application-shuts-down.csuse a cancellationtoken to stop the background polling service gracefully when the application shuts down
use-async-disposal-pattern-to-close-the-iasyncimapclient-connection-and-release-resources-without-blocking.csuse async disposal pattern to close the iasyncimapclient connection and release resources without blocking
use-async-enumeration-to-iterate-over-messages-returned-by-a-mailquery-without-loading-the-entire-result-set.csuse async enumeration to iterate over messages returned by a mailquery without loading the entire result set
use-async-methods-to-retrieve-the-list-of-subscribed-folders-and-compare-with-predefined-configuration.csuse async methods to retrieve the list of subscribed folders and compare with predefined configuration
use-async-methods-to-search-for-messages-containing-a-specific-x-header-value-asynchronously.csuse async methods to search for messages containing a specific x header value asynchronously
use-async-methods-to-set-the-seen-flag-on-messages-after-they-have-been-processed-and-archived.csuse async methods to set the seen flag on messages after they have been processed and archived
use-async-validation-within-an-asp-net-core-controller-to-authenticate-user-email-accounts.csuse async validation within an asp net core controller to authenticate user email accounts
use-client-restoremailbox-with-the-specified-pst-file-to-recover-a-mailbox-from-backup-operation.csuse client restoremailbox with the specified pst file to recover a mailbox from backup operation
use-imapclient-store-to-add-a-custom-x-processed-header-to-messages-after-successful-content-extraction.csuse imapclient store to add a custom x processed header to messages after successful content extraction
use-listmessages-with-a-subject-filter-to-retrieve-only-messages-containing-a-specific-keyword.csuse listmessages with a subject filter to retrieve only messages containing a specific keyword
use-mailquerybuilder-to-construct-query-selecting-messages-with-subject-containing-report-or-flag-reviewed.csuse mailquerybuilder to construct query selecting messages with subject containing report or flag reviewed
use-mailquerybuilder-to-filter-messages-where-sender-display-name-matches-john-doe-case-sensitively.csuse mailquerybuilder to filter messages where sender display name matches john doe case sensitively
use-oauth2-authentication-tokens-with-iasyncimapclient-to-connect-securely-without-storing-plain-passwords.csuse oauth2 authentication tokens with iasyncimapclient to connect securely without storing plain passwords
use-the-body-peek-command-asynchronously-to-fetch-messages-without-marking-them-as-read.csuse the body peek command asynchronously to fetch messages without marking them as read
use-the-imap-client-to-synchronize-local-cache-with-remote-folder-changes-in-real-time.csuse the imap client to synchronize local cache with remote folder changes in real time
validate-credentials-against-a-gmail-imap-server-using-oauth2-token-authentication.csvalidate credentials against a gmail imap server using oauth2 token authentication
validate-credentials-against-a-yahoo-mail-imap-server-with-two-factor-authentication-enabled.csvalidate credentials against a yahoo mail imap server with two factor authentication enabled
validate-dkim-signatures-of-fetched-emails-asynchronously-and-log-verification-results.csvalidate dkim signatures of fetched emails asynchronously and log verification results
validate-imap-server-credentials-asynchronously-with-validatecredentialsasync-to-ensure-non-blocking-authentication.csvalidate imap server credentials asynchronously with validatecredentialsasync to ensure non blocking authentication
validate-imap-server-credentials-synchronously-using-validatecredentials-before-any-mailbox-operations.csvalidate imap server credentials synchronously using validatecredentials before any mailbox operations
validate-server-certificates-during-ssl-connection-by-assigning-a-remotecertificatevalidationcallback-that-checks-issuer-t.csvalidate server certificates during ssl connection by assigning a remotecertificatevalidationcallback that checks issuer t
validate-server-ssl-certificates-asynchronously-by-providing-a-custom-remotecertificatevalidationcallback.csvalidate server ssl certificates asynchronously by providing a custom remotecertificatevalidationcallback
validate-user-credentials-by-evaluating-the-boolean-result-returned-from-the-authentication-api-method.csvalidate user credentials by evaluating the boolean result returned from the authentication api method
validate-user-credentials-by-invoking-the-client-validatecredentials-method-with-the-provided-username-and-password.csvalidate user credentials by invoking the client validatecredentials method with the provided username and password
verify-all-required-prerequisites-are-satisfied-prior-to-initiating-a-connection-with-the-imap-server.csverify all required prerequisites are satisfied prior to initiating a connection with the imap server
verify-successful-backup-by-comparing-message-counts-before-and-after-the-imapclient-backup-call.csverify successful backup by comparing message counts before and after the imapclient backup call
verify-that-the-selected-folder-exists-using-imapclient-folderexists-before-backup-or-delete-actions.csverify that the selected folder exists using imapclient folderexists before backup or delete actions
verify-the-correctness-of-imap-server-authentication-parameters-by-attempting-a-login-and-handling-potential-failures.csverify the correctness of imap server authentication parameters by attempting a login and handling potential failures

Category Statistics

  • Total examples: 303

General Tips

  • Follow root boundaries and testing guide.
  • Dispose client objects; avoid hardcoded secrets; prefer explicit types.
<!-- AUTOGENERATED:START -->
DateRun IDBranch/Commit
2026-09-14autoexamples/batch-auto
<!-- AUTOGENERATED:END -->

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.