# Link an IMAP mailbox (internal) **POST /email-data/{caseId}/add-imap-email-provider** Inbox-connect plumbing: connects to the IMAP server to check the host and credentials, links the mailbox to the case and returns it. The credentials are stored encrypted and never returned. ## Servers - http://api.example.com: http://api.example.com () ## Authentication methods - Access token ## Parameters ### Path parameters - **caseId** (string) ### Body: application/json (object) - **extractionCode** (string) - **host** (string) - **port** (number) - **user** (string) - **pass** (string) ## Responses ### 201 #### Body: application/json (object) - **data** (object) - **statusCode** (number) - **timestamp** (string(date-time)) [Powered by Bump.sh](https://bump.sh)