Accepts a message object and formats it as a MIME document.
# S3 method for envelope
as.character(x, ..., details = TRUE, encode = FALSE)
A message object.
Further arguments passed to or from other methods.
Whether or not to display full message content.
Whether to encode headers.
A formatted message object.