Electronic device which ouputus message and method for controlling thereof

A control method of an electronic device is disclosed. The control method of an electronic device comprises the operations of: obtaining a message from a sender; identifying a receiver of the message; converting the message based on first relation information between the sender and the receiver, and second relation information between the receiver and the electronic device; and outputting the converted message.