def METHOD_NAME(db, default_account, message):
    block = Block()
    namespace_id = default_account.namespace.id
    block.namespace_id = namespace_id
    block.filename = "zambla.txt"
    block.content_type = "text/plain"
    block.size = 32
    # This is sha256 of an attachment in our test email.
    block.data_sha256 = (
        "27dc8e801f962098fd4a741ccbd6ca24d42805df0b8035cfb881ad6e5a1bf4b2"
    )
    p = Part(block=block, message=message)
    db.session.add(p)
    db.session.commit()
    return p