だが
daga

Conjunction

1. but; however; (and) yet; nevertheless; still; for all that

あなたに手紙てがみくつもりだったのだが。
anatani tegamio kaku tsumoridatta nodaga.
I meant to have written to you.