         address
 
 
+    # Extract a reply address from a `message` object.
     getReplyToAddress: (message) ->
         reply = message.get 'replyTo'
         from = message.get 'from'

#{t 'compose forward to'} #{addresses}

"""
                message.to = []
                message.cc = []
                message.bcc = []
                message.subject = """
                    #{t 'compose forward prefix'}#{inReplyTo.get 'subject'}
                    """
                message.text = separator + text
                htmlSeparator = separator.replace /(\n)+/g, '<br />'
                html = """
#{style}

<p>#{htmlSeparator}</p><p><br /></p>#{html}
"""
                message.html = html

                # Add original message attachments
                message.attachments = inReplyTo.get 'attachments'

            when null
                message.to      = []
                message.cc      = []
                message.bcc     = []
                message.subject = ''
                message.text    = ''
                message.html    = ''

        # remove my address from dests
        notMe = (dest) -> return dest.address isnt myAddress
        message.to = message.to.filter notMe
        message.cc = message.cc.filter notMe
        return message

    generateReplyText: (text) ->
        text = text.split '\n'
        res  = []

                return address.address.split('@')[0]


    # Build a string from a list of `adress` objects. Addresses are
    # separated by a coma. An address is either the email adress either this:
    #
    # Sender Name <email@sender.com>
    displayAddresses: (addresses, full = false) ->
        if not addresses?
            return ""
        else
            res = []
            for item in addresses
                if not item?
                    break
                res.push(MessageUtils.displayAddress item, full)
            return res.join ", "


    # From a text, build an `address` object (name and address).
    # Add a isValid field if the given email is well formed.
    parseAddress: (text) ->
        text = text.trim()
        if match = text.match /"{0,1}(.*)"{0,1} <(.*)>/
