'Queue up marking all messages for a user as read.
This may take some time, and returns 202 to acknowledge acceptance of
the request.'

@require_oauth2_scope('privatemessages')
@noresponse(VUser(), VModhash(), VRatelimit(rate_user=True, prefix='rate_read_all_', fatal=True))
@api_doc(api_section.messages)
def POST_read_all_messages(self):

    amqp.add_item('mark_all_read', c.user._fullname)
    VRatelimit.ratelimit(rate_user=True, prefix='rate_read_all_')
    return abort(202)
