Property management direct mail from lease events
Property management direct mail is easiest to keep up when the lease data sends it: a Buildium Lease.Created webhook mails the welcome letter, a nightly query mails renewal letters 90 days out, and a vacancy orders For Rent signs, each with one request to Mailr.
Who builds this
This gets built by the in-house developer or operations lead at a management company with a few hundred to a few thousand doors, by agencies that run owner-acquisition marketing for property managers, and by the software that sits beside the property management system: resident-experience apps, leasing tools and maintenance platforms. They read leases, tenants and work orders out of Buildium, AppFolio or Rentvine, turn dates and status changes into letters, and order signs and door notices when a unit goes vacant or a community needs to hear something.
What to mail, and when
| When this happens | Mail this | Price |
|---|---|---|
| Buildium Lease.Created webhook; fetch the lease by LeaseId | A move-in welcome letter at the unit: trash day, the resident portal, the maintenance line and the manager's name. (8.5x11 letter) | $0.95 |
| Nightly: Buildium GET /v1/leases with leasestatuses=Active and leasedateto 90 days out (or AppFolio's LeaseEndDate) | A renewal letter 90 days before the lease ends, asking the resident to start the renewal in the portal. (8.5x11 letter) | $0.95 |
| Buildium Lease.MoveOut.Created, when a notice to vacate is recorded | A move-out letter with the cleaning checklist, key return and how the walk-through works. (8.5x11 letter) | $0.95 |
| A work order is completed (AppFolio Work Orders, a Buildium task or your maintenance app) | A how-did-we-do card naming the repair, with a short link to rate it. (4x6 postcard, Review request) | $0.85 |
| Quarterly: single-family rentals in your market from county assessor records, minus the owners you already manage for | An owner-acquisition postcard to owners whose mailing address isn't the property, offering a rent estimate. (6x11 postcard) | $0.99 |
What property management print
Printed and picked up free in Phoenix or shipped UPS Ground, ordered with POST /v1/prints.
| Piece | Used for | Price |
|---|---|---|
| 18x24 yard sign | For Rent signs with your phone number and listings URL for single-family homes between residents. Orders start at 10, so keep a stock. | $4.75–$7.00, from 10 |
| 8.5x11 flyer | Notices slid under every door before a water shut-off, pest treatment or parking-lot reseal. | $0.53, from 100 |
| 18x24 poster | Leasing-office and amenity posters, like pool rules and package-room hours, printed one side. | $9.60 |
| 4x9 rack card | Floor-plan and amenity cards for the leasing-office rack and tour packets. | $0.26, from 100 |
Systems to connect
- Buildium. The Open API (Premium plan) takes x-buildium-client-id and x-buildium-client-secret headers. Webhooks are added under Settings > Developer Tools > Webhooks: Lease.Created, Lease.Updated, Lease.MoveOut.Created, LeaseTenant.Created and more. Payloads carry ids only, can arrive twice or out of order, and are signed with buildium-webhook-signature.
- AppFolio. API access goes through the AppFolio Stack partner program, which exposes tenants (with LeaseStartDate and LeaseEndDate), units and work orders. Without partner access, schedule the Rent Roll report, which carries lease start and end dates, as a recurring CSV export and read that.
- Rentvine. Webhooks are set up under Settings > Other > Webhooks and fire when a lease is created or updated, with lease charge, property and unit events too. Pull the rest of the lease from the REST API.
- Google Sheets. Smaller managers keep the owner-acquisition list or a community roster in a sheet; a short Apps Script sends the rows to POST /v1/batches.
Code: renewal letters from Buildium and For Rent signs
# Nightly: every active Buildium lease that ends 90 days from today gets a renewal letter.
import datetime, os, requests
buildium = {
"x-buildium-client-id": os.environ["BUILDIUM_CLIENT_ID"],
"x-buildium-client-secret": os.environ["BUILDIUM_CLIENT_SECRET"],
}
end = (datetime.date.today() + datetime.timedelta(days=90)).isoformat()
# leasedateto means "ends on or before", so keep only the leases that end on that exact day.
leases = requests.get(
"https://api.buildium.com/v1/leases",
headers=buildium,
params={"leasestatuses": "Active", "leasedateto": end, "limit": 1000},
timeout=30,
).json()
recipients = []
for lease in leases:
if lease["LeaseToDate"] != end or not lease["CurrentTenants"]:
continue
t = lease["CurrentTenants"][0]
a = t["Address"]
recipients.append({
"to": {
"name": f"{t['FirstName']} {t['LastName']}"[:40],
"line1": a["AddressLine1"],
"line2": a["AddressLine2"] or None,
"city": a["City"],
"state": a["State"],
"zip": a["PostalCode"],
},
# It mails without an envelope: no rent figures, just the date.
"merge": {"first_name": t["FirstName"][:14], "lease_end": lease["LeaseToDate"]},
"description": f"Renewal, Buildium lease {lease['Id']}",
})
if recipients: # one batch holds up to 1,000
res = requests.post(
"https://api.mailr.dev/v1/batches",
headers={
"Authorization": f"Bearer {os.environ['MAILR_API_KEY']}",
"Idempotency-Key": f"renewals-{end}",
},
json={
"kind": "flat",
"size": "8.5x11",
"front": open("mail/renewal/front.html").read(),
"back": open("mail/renewal/back.html").read(),
"recipients": recipients,
},
timeout=60,
)
res.raise_for_status()
print(res.json()["id"], res.json()["count"])What it costs
Renewal letters for a 1,200-door portfolio: 1,200 8.5x11 letters at $0.95 each is $1,140.00 on pay as you go, or $1,104.00 on the Agency plan, printing and postage included. One 8.5x11 letter per lease, mailed 90 days before it ends, so about 100 a month over a year. Test pieces are free. All prices.
Questions
Can I mail late-rent or balance notices?
Not well. Postcards and flats mail without an envelope, so keep balances, rent amounts and account numbers off them. Mailr doesn't send envelopes or Certified Mail, so notices that a statute says must go that way need another route. Use Mailr for welcomes, renewals, move-outs and community notices.
Is there a Buildium or AppFolio integration?
No packaged one. Your code reads the property management system and calls Mailr: Buildium's Open API has webhooks and a leases endpoint, AppFolio's API comes through the Stack partner program, and a scheduled report export works when you don't have API access.
How do I mail every household in a community at once?
Send POST /v1/batches with up to 1,000 recipients from one design, with per-recipient merge values like first_name and unit. The whole batch is validated before anything is created, so one bad ZIP code stops it instead of half mailing. Larger communities go as several batches.
Can I order For Rent signs for one vacancy?
Yard sign orders start at 10 signs, so most managers order a stock of generic signs with the office phone and listings URL and reuse them. 25 signs with stakes are $193.75, picked up free in Phoenix or shipped UPS Ground for $16 a box of 25.