EmailController

Get deprecated server-normalized email preview HTML

Returns a server-normalized preview document with active content removed and restrictive browser metadata. This representation can normalize malformed email layout and is deprecated for fidelity-sensitive rendering. Fetch the original HTML source and apply link hardening inside an opaque-origin browser sandbox instead.

get/emails/{emailId}/preview

Request

  • Base URL: https://api.mailslurp.com
  • URL: https://api.mailslurp.com/emails/{emailId}/preview
  • Auth: API key in header x-api-key

Path parameters

emailIdstring uuid required

Query parameters

replaceCidImagesboolean
linkBehavior'PRESERVE' | 'NEW_TAB' | 'DISABLED'

Controls navigation for links in hardened email HTML previews. Original email HTML endpoints are unaffected.

Response

OK

Changes

No recorded changes to this operation across all 1 revision of this API.