In a medium bowl, combine the drained tuna, mayonnaise, celery, red onion, Dijon mustard, dill pickles, lemon juice, salt, and pepper. Stir gently with a fork until well mixed. Taste and adjust seasoning as needed.
Spread softened butter on one side of each slice of sourdough bread.
Place two slices of bread, buttered side down, on a board. Add a slice of cheese on each, then spoon the tuna salad on top. Add another slice of cheese, then place the second slice of bread on top, buttered side out. Press gently.
Preheat the air fryer to 360°F. Place the sandwiches in the basket in a single layer, leaving space between them. Air fry for 4 minutes.
Carefully flip each sandwich with a spatula. Air fry for another 3 to 4 minutes, until both sides are golden brown and crisp and the cheese is fully melted.
Remove the sandwiches from the air fryer and let them rest for 1 minute.
Slice each sandwich in half and serve warm.
Serve with your favorite sides, such as a fresh green salad, tomato soup, or dill pickles.