You can keep track of all of your envelopes electronically with Ez Budget. When you get paid, allocate that money to each of your envelopes as needed. Then, when you spend money just put the transaction in the envelope where it belongs. Your balances all get updated automatically.
Ez Budget connects directly with your bank to download transactions, and it syncs with all of your devices so that your budget is with you wherever you need it.