'Returns a list of all the messages where the caller is a recipient.
Returns:
messages (list): list of Msg objects.'

def get_all_mail(self):

    try:
        player = self.caller.player
    except AttributeError:
        player = self.caller
    messages = Msg.objects.get_by_tag(category='mail', raw_queryset=True).filter(db_receivers_players=player)
    return messages
