message-send-rename-function

message-send-rename-function is a variable defined in `message.el'.
Its value is
nil

  • This variable may be risky if used as a file-local variable.

Documentation:
Function called to rename the buffer after sending it.

You can customize this variable.